x11/gnome-flashback: new port

This package contains the GNOME Flashback backend. It provides the
'gnome-flashback' and 'gnome-flashback-clipboard' programs.

PR:	286697
This commit is contained in:
Olivier Duchateau 2025-06-10 13:33:57 +02:00 committed by Baptiste Daroussin
parent 25af9e5084
commit 3acf90281d
25 changed files with 4507 additions and 0 deletions

View File

@ -99,6 +99,7 @@
SUBDIR += gnome-clipboard-daemon
SUBDIR += gnome-console
SUBDIR += gnome-desktop
SUBDIR += gnome-flashback
SUBDIR += gnome-menus
SUBDIR += gnome-panel
SUBDIR += gnome-pie

View File

@ -0,0 +1,83 @@
PORTNAME= gnome-flashback
PORTVERSION= 3.56.0
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME Flashback session and helper applications
WWW= https://gitlab.gnome.org/GNOME/gnome-flashback
LICENSE= GPLv3
BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
xkeyboard-config>0:x11/xkeyboard-config
LIB_DEPENDS= libgnome-panel.so:x11/gnome-panel \
libpolkit-gobject-1.so:sysutils/polkit \
libibus-1.0.so:textproc/ibus \
libconsolekit.so:sysutils/consolekit2 \
libxkbfile.so:x11/libxkbfile \
libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libpulse.so:audio/pulseaudio \
libupower-glib.so:sysutils/upower \
libgdm.so:x11/gdm \
libasound.so:audio/alsa-lib \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config \
gnome-session>0:x11/gnome-session \
metacity>0:x11-wm/metacity \
gnome-applets>0:x11/gnome-applets \
tecla>0:x11/tecla \
alacarte>0:x11/alacarte \
gedit>0:editors/gedit \
sushi>0:x11-fm/sushi \
nautilus>0:x11-fm/nautilus \
gnome-terminal>0:x11/gnome-terminal \
xdg-user-dirs-gtk>0:x11/xdg-user-dirs-gtk \
cantarell-fonts>0:x11-fonts/cantarell-fonts \
source-code-pro-ttf>0:x11-fonts/source-code-pro-ttf
# x11/gnome-shell is mandatory for x11/gdm and it provides the screenshot
# service through the org.gnome.Shell.Screenshot interface
RUN_DEPENDS+= gnome-shell>0:x11/gnome-shell
USES= gettext gmake gnome libtool pkgconfig tar:xz xorg
GNU_CONFIGURE= yes
USE_GNOME= cairo gdkpixbuf glib20 gtk30 gnomedesktop3 pango
USE_XORG= x11 xcb xext xfixes xi xrandr xxf86vm
CONFIGURE_ARGS= --without-compiz-session
INSTALL_TARGET= install-strip
SUB_FILES= gnome-flashback pkg-message
SUB_LIST= EXAMPLESDIR=${EXAMPLESDIR:S|${PORTNAME}|gnome-shell|}
GLIB_SCHEMAS= 00_gnome-flashback.gschema.override \
org.gnome.gnome-flashback.desktop.background.gschema.xml \
org.gnome.gnome-flashback.desktop.enums.xml \
org.gnome.gnome-flashback.desktop.gschema.xml \
org.gnome.gnome-flashback.desktop.icons.gschema.xml \
org.gnome.gnome-flashback.gschema.xml \
org.gnome.gnome-flashback.keybindings.gschema.xml \
org.gnome.gnome-flashback.notifications.gschema.xml \
org.gnome.gnome-flashback.system-indicators.input-sources.gschema.xml
post-extract:
${CP} ${FILESDIR}/gf-consolekit-* \
${WRKSRC}/dbus/
${CP} ${FILESDIR}/org.freedesktop.ConsoleKit* \
${WRKSRC}/dbus/
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${LOCALBASE}|" \
${WRKSRC}/gnome-flashback/libscreensaver/gf-screensaver.c
@${REINPLACE_CMD} -e 's|X-GNOME-HiddenUnderSystemd|#X-GNOME-HiddenUnderSystemd|' \
${WRKSRC}/data/applications/gnome-flashback.desktop.in
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam.d
${INSTALL_DATA} ${WRKDIR}/gnome-flashback \
${STAGEDIR}${PREFIX}/etc/pam.d
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1745754419
SHA256 (gnome/gnome-flashback-3.56.0.tar.xz) = 2d0fa22f373db080eaef0e5693b9628cde844f25633d5a90313b049dd9529260
SIZE (gnome/gnome-flashback-3.56.0.tar.xz) = 912964

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,240 @@
/*
* This file is generated by gdbus-codegen, do not modify it.
*
* The license of this code is the same as for the D-Bus interface description
* it was derived from. Note that it links to GLib, so must comply with the
* LGPL linking clauses.
*/
#ifndef __GF_CONSOLEKIT_MANAGER_GEN_H__
#define __GF_CONSOLEKIT_MANAGER_GEN_H__
#include <gio/gio.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.ConsoleKit.Manager */
#define GF_TYPE_CONSOLE_KIT_MANAGER_GEN (gf_console_kit_manager_gen_get_type ())
#define GF_CONSOLE_KIT_MANAGER_GEN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN, GfConsoleKitManagerGen))
#define GF_IS_CONSOLE_KIT_MANAGER_GEN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN))
#define GF_CONSOLE_KIT_MANAGER_GEN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN, GfConsoleKitManagerGenIface))
struct _GfConsoleKitManagerGen;
typedef struct _GfConsoleKitManagerGen GfConsoleKitManagerGen;
typedef struct _GfConsoleKitManagerGenIface GfConsoleKitManagerGenIface;
struct _GfConsoleKitManagerGenIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_session_for_cookie) (
GfConsoleKitManagerGen *object,
GDBusMethodInvocation *invocation,
const gchar *arg_session_id);
gboolean (*handle_inhibit) (
GfConsoleKitManagerGen *object,
GDBusMethodInvocation *invocation,
GUnixFDList *fd_list,
const gchar *arg_what,
const gchar *arg_who,
const gchar *arg_why,
const gchar *arg_mode);
void (*prepare_for_sleep) (
GfConsoleKitManagerGen *object,
gboolean arg_start);
};
GType gf_console_kit_manager_gen_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *gf_console_kit_manager_gen_interface_info (void);
guint gf_console_kit_manager_gen_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void gf_console_kit_manager_gen_complete_get_session_for_cookie (
GfConsoleKitManagerGen *object,
GDBusMethodInvocation *invocation,
const gchar *object_path);
void gf_console_kit_manager_gen_complete_inhibit (
GfConsoleKitManagerGen *object,
GDBusMethodInvocation *invocation,
GUnixFDList *fd_list,
GVariant *pipe_fd);
/* D-Bus signal emissions functions: */
void gf_console_kit_manager_gen_emit_prepare_for_sleep (
GfConsoleKitManagerGen *object,
gboolean arg_start);
/* D-Bus method calls: */
void gf_console_kit_manager_gen_call_get_session_for_cookie (
GfConsoleKitManagerGen *proxy,
const gchar *arg_session_id,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean gf_console_kit_manager_gen_call_get_session_for_cookie_finish (
GfConsoleKitManagerGen *proxy,
gchar **out_object_path,
GAsyncResult *res,
GError **error);
gboolean gf_console_kit_manager_gen_call_get_session_for_cookie_sync (
GfConsoleKitManagerGen *proxy,
const gchar *arg_session_id,
gchar **out_object_path,
GCancellable *cancellable,
GError **error);
void gf_console_kit_manager_gen_call_inhibit (
GfConsoleKitManagerGen *proxy,
const gchar *arg_what,
const gchar *arg_who,
const gchar *arg_why,
const gchar *arg_mode,
GUnixFDList *fd_list,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean gf_console_kit_manager_gen_call_inhibit_finish (
GfConsoleKitManagerGen *proxy,
GVariant **out_pipe_fd,
GUnixFDList **out_fd_list,
GAsyncResult *res,
GError **error);
gboolean gf_console_kit_manager_gen_call_inhibit_sync (
GfConsoleKitManagerGen *proxy,
const gchar *arg_what,
const gchar *arg_who,
const gchar *arg_why,
const gchar *arg_mode,
GUnixFDList *fd_list,
GVariant **out_pipe_fd,
GUnixFDList **out_fd_list,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY (gf_console_kit_manager_gen_proxy_get_type ())
#define GF_CONSOLE_KIT_MANAGER_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY, GfConsoleKitManagerGenProxy))
#define GF_CONSOLE_KIT_MANAGER_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY, GfConsoleKitManagerGenProxyClass))
#define GF_CONSOLE_KIT_MANAGER_GEN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY, GfConsoleKitManagerGenProxyClass))
#define GF_IS_CONSOLE_KIT_MANAGER_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY))
#define GF_IS_CONSOLE_KIT_MANAGER_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_PROXY))
typedef struct _GfConsoleKitManagerGenProxy GfConsoleKitManagerGenProxy;
typedef struct _GfConsoleKitManagerGenProxyClass GfConsoleKitManagerGenProxyClass;
typedef struct _GfConsoleKitManagerGenProxyPrivate GfConsoleKitManagerGenProxyPrivate;
struct _GfConsoleKitManagerGenProxy
{
/*< private >*/
GDBusProxy parent_instance;
GfConsoleKitManagerGenProxyPrivate *priv;
};
struct _GfConsoleKitManagerGenProxyClass
{
GDBusProxyClass parent_class;
};
GType gf_console_kit_manager_gen_proxy_get_type (void) G_GNUC_CONST;
#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GfConsoleKitManagerGenProxy, g_object_unref)
#endif
void gf_console_kit_manager_gen_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GfConsoleKitManagerGen *gf_console_kit_manager_gen_proxy_new_finish (
GAsyncResult *res,
GError **error);
GfConsoleKitManagerGen *gf_console_kit_manager_gen_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void gf_console_kit_manager_gen_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GfConsoleKitManagerGen *gf_console_kit_manager_gen_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GfConsoleKitManagerGen *gf_console_kit_manager_gen_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON (gf_console_kit_manager_gen_skeleton_get_type ())
#define GF_CONSOLE_KIT_MANAGER_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON, GfConsoleKitManagerGenSkeleton))
#define GF_CONSOLE_KIT_MANAGER_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON, GfConsoleKitManagerGenSkeletonClass))
#define GF_CONSOLE_KIT_MANAGER_GEN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON, GfConsoleKitManagerGenSkeletonClass))
#define GF_IS_CONSOLE_KIT_MANAGER_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON))
#define GF_IS_CONSOLE_KIT_MANAGER_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_CONSOLE_KIT_MANAGER_GEN_SKELETON))
typedef struct _GfConsoleKitManagerGenSkeleton GfConsoleKitManagerGenSkeleton;
typedef struct _GfConsoleKitManagerGenSkeletonClass GfConsoleKitManagerGenSkeletonClass;
typedef struct _GfConsoleKitManagerGenSkeletonPrivate GfConsoleKitManagerGenSkeletonPrivate;
struct _GfConsoleKitManagerGenSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GfConsoleKitManagerGenSkeletonPrivate *priv;
};
struct _GfConsoleKitManagerGenSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType gf_console_kit_manager_gen_skeleton_get_type (void) G_GNUC_CONST;
#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GfConsoleKitManagerGenSkeleton, g_object_unref)
#endif
GfConsoleKitManagerGen *gf_console_kit_manager_gen_skeleton_new (void);
G_END_DECLS
#endif /* __GF_CONSOLEKIT_MANAGER_GEN_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,209 @@
/*
* This file is generated by gdbus-codegen, do not modify it.
*
* The license of this code is the same as for the D-Bus interface description
* it was derived from. Note that it links to GLib, so must comply with the
* LGPL linking clauses.
*/
#ifndef __GF_CONSOLEKIT_SESSION_GEN_H__
#define __GF_CONSOLEKIT_SESSION_GEN_H__
#include <gio/gio.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------ */
/* Declarations for org.freedesktop.ConsoleKit.Session */
#define GF_TYPE_CONSOLE_KIT_SESSION_GEN (gf_console_kit_session_gen_get_type ())
#define GF_CONSOLE_KIT_SESSION_GEN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN, GfConsoleKitSessionGen))
#define GF_IS_CONSOLE_KIT_SESSION_GEN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN))
#define GF_CONSOLE_KIT_SESSION_GEN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN, GfConsoleKitSessionGenIface))
struct _GfConsoleKitSessionGen;
typedef struct _GfConsoleKitSessionGen GfConsoleKitSessionGen;
typedef struct _GfConsoleKitSessionGenIface GfConsoleKitSessionGenIface;
struct _GfConsoleKitSessionGenIface
{
GTypeInterface parent_iface;
gboolean (*handle_set_locked_hint) (
GfConsoleKitSessionGen *object,
GDBusMethodInvocation *invocation,
gboolean arg_unnamed_arg0);
gboolean (*get_active) (GfConsoleKitSessionGen *object);
gboolean (*get_locked_hint) (GfConsoleKitSessionGen *object);
void (*lock) (
GfConsoleKitSessionGen *object);
void (*unlock) (
GfConsoleKitSessionGen *object);
};
GType gf_console_kit_session_gen_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *gf_console_kit_session_gen_interface_info (void);
guint gf_console_kit_session_gen_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void gf_console_kit_session_gen_complete_set_locked_hint (
GfConsoleKitSessionGen *object,
GDBusMethodInvocation *invocation);
/* D-Bus signal emissions functions: */
void gf_console_kit_session_gen_emit_lock (
GfConsoleKitSessionGen *object);
void gf_console_kit_session_gen_emit_unlock (
GfConsoleKitSessionGen *object);
/* D-Bus method calls: */
void gf_console_kit_session_gen_call_set_locked_hint (
GfConsoleKitSessionGen *proxy,
gboolean arg_unnamed_arg0,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean gf_console_kit_session_gen_call_set_locked_hint_finish (
GfConsoleKitSessionGen *proxy,
GAsyncResult *res,
GError **error);
gboolean gf_console_kit_session_gen_call_set_locked_hint_sync (
GfConsoleKitSessionGen *proxy,
gboolean arg_unnamed_arg0,
GCancellable *cancellable,
GError **error);
/* D-Bus property accessors: */
gboolean gf_console_kit_session_gen_get_active (GfConsoleKitSessionGen *object);
void gf_console_kit_session_gen_set_active (GfConsoleKitSessionGen *object, gboolean value);
gboolean gf_console_kit_session_gen_get_locked_hint (GfConsoleKitSessionGen *object);
void gf_console_kit_session_gen_set_locked_hint (GfConsoleKitSessionGen *object, gboolean value);
/* ---- */
#define GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY (gf_console_kit_session_gen_proxy_get_type ())
#define GF_CONSOLE_KIT_SESSION_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY, GfConsoleKitSessionGenProxy))
#define GF_CONSOLE_KIT_SESSION_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY, GfConsoleKitSessionGenProxyClass))
#define GF_CONSOLE_KIT_SESSION_GEN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY, GfConsoleKitSessionGenProxyClass))
#define GF_IS_CONSOLE_KIT_SESSION_GEN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY))
#define GF_IS_CONSOLE_KIT_SESSION_GEN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_CONSOLE_KIT_SESSION_GEN_PROXY))
typedef struct _GfConsoleKitSessionGenProxy GfConsoleKitSessionGenProxy;
typedef struct _GfConsoleKitSessionGenProxyClass GfConsoleKitSessionGenProxyClass;
typedef struct _GfConsoleKitSessionGenProxyPrivate GfConsoleKitSessionGenProxyPrivate;
struct _GfConsoleKitSessionGenProxy
{
/*< private >*/
GDBusProxy parent_instance;
GfConsoleKitSessionGenProxyPrivate *priv;
};
struct _GfConsoleKitSessionGenProxyClass
{
GDBusProxyClass parent_class;
};
GType gf_console_kit_session_gen_proxy_get_type (void) G_GNUC_CONST;
#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GfConsoleKitSessionGenProxy, g_object_unref)
#endif
void gf_console_kit_session_gen_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GfConsoleKitSessionGen *gf_console_kit_session_gen_proxy_new_finish (
GAsyncResult *res,
GError **error);
GfConsoleKitSessionGen *gf_console_kit_session_gen_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void gf_console_kit_session_gen_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GfConsoleKitSessionGen *gf_console_kit_session_gen_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GfConsoleKitSessionGen *gf_console_kit_session_gen_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON (gf_console_kit_session_gen_skeleton_get_type ())
#define GF_CONSOLE_KIT_SESSION_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON, GfConsoleKitSessionGenSkeleton))
#define GF_CONSOLE_KIT_SESSION_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON, GfConsoleKitSessionGenSkeletonClass))
#define GF_CONSOLE_KIT_SESSION_GEN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON, GfConsoleKitSessionGenSkeletonClass))
#define GF_IS_CONSOLE_KIT_SESSION_GEN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON))
#define GF_IS_CONSOLE_KIT_SESSION_GEN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GF_TYPE_CONSOLE_KIT_SESSION_GEN_SKELETON))
typedef struct _GfConsoleKitSessionGenSkeleton GfConsoleKitSessionGenSkeleton;
typedef struct _GfConsoleKitSessionGenSkeletonClass GfConsoleKitSessionGenSkeletonClass;
typedef struct _GfConsoleKitSessionGenSkeletonPrivate GfConsoleKitSessionGenSkeletonPrivate;
struct _GfConsoleKitSessionGenSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GfConsoleKitSessionGenSkeletonPrivate *priv;
};
struct _GfConsoleKitSessionGenSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType gf_console_kit_session_gen_skeleton_get_type (void) G_GNUC_CONST;
#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GfConsoleKitSessionGenSkeleton, g_object_unref)
#endif
GfConsoleKitSessionGen *gf_console_kit_session_gen_skeleton_new (void);
G_END_DECLS
#endif /* __GF_CONSOLEKIT_SESSION_GEN_H__ */

View File

@ -0,0 +1,15 @@
#%PAM-1.0
# auth
auth include system
auth optional %%LOCALBASE%%/lib/pam_gnome_keyring.so
# account
account include system
# session
session include system
session optional %%LOCALBASE%%/lib/pam_gnome_keyring.so auto_start
# password
password include system

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.ConsoleKit.Manager">
<annotation name="org.gtk.GDBus.C.Name" value="ConsoleKitManagerGen" />
<method name="GetSessionForCookie">
<arg name="session_id" type="s" direction="in" />
<arg name="object_path" type="o" direction="out" />
</method>
<method name="Inhibit">
<annotation name="org.gtk.GDBus.C.UnixFD" value="true" />
<arg name="what" type="s" direction="in" />
<arg name="who" type="s" direction="in" />
<arg name="why" type="s" direction="in" />
<arg name="mode" type="s" direction="in" />
<arg name="pipe_fd" type="h" direction="out" />
</method>
<signal name="PrepareForSleep">
<arg name="start" type="b" direction="out" />
</signal>
</interface>
</node>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.ConsoleKit.Session">
<annotation name="org.gtk.GDBus.C.Name" value="ConsoleKitSessionGen" />
<property name="Active" type="b" access="read" />
<property name="LockedHint" type="b" access="read" />
<method name="SetLockedHint">
<arg direction="in" type="b" />
</method>
<signal name="Lock" />
<signal name="Unlock" />
</interface>
</node>

View File

@ -0,0 +1,257 @@
--- configure.orig 2023-08-12 06:58:51 UTC
+++ configure
@@ -19785,7 +19785,7 @@ pkg_failed=no
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
" >&5
printf %s "checking for
@@ -19794,7 +19794,7 @@ printf %s "checking for
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
... " >&6; }
@@ -19808,7 +19808,7 @@ if test -n "$DESKTOP_CFLAGS"; then
gio-unix-2.0 >= \$GLIB_REQUIRED
gnome-desktop-3.0 >= \$LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= \$GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
\""; } >&5
($PKG_CONFIG --exists --print-errors "
@@ -19817,7 +19817,7 @@ if test -n "$DESKTOP_CFLAGS"; then
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
") 2>&5
ac_status=$?
@@ -19829,7 +19829,7 @@ if test -n "$DESKTOP_CFLAGS"; then
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
@@ -19849,7 +19849,7 @@ if test -n "$DESKTOP_LIBS"; then
gio-unix-2.0 >= \$GLIB_REQUIRED
gnome-desktop-3.0 >= \$LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= \$GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
\""; } >&5
($PKG_CONFIG --exists --print-errors "
@@ -19858,7 +19858,7 @@ if test -n "$DESKTOP_LIBS"; then
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
") 2>&5
ac_status=$?
@@ -19870,7 +19870,7 @@ if test -n "$DESKTOP_LIBS"; then
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
@@ -19899,7 +19899,7 @@ fi
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
" 2>&1`
else
@@ -19909,7 +19909,7 @@ fi
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
" 2>&1`
fi
@@ -19922,7 +19922,7 @@ fi
gio-unix-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
x11
) were not met:
@@ -21277,7 +21277,7 @@ pkg_failed=no
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
" >&5
printf %s "checking for
@@ -21286,7 +21286,7 @@ printf %s "checking for
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
... " >&6; }
@@ -21296,20 +21296,22 @@ if test -n "$SCREENSAVER_CFLAGS"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
gdm
+ gio-2.0 >= \$GLIB_REQUIRED
gio-unix-2.0 >= \$GLIB_REQUIRED
glib-2.0 >= \$GLIB_REQUIRED
gnome-desktop-3.0 >= \$LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= \$GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= \$XXF86VM_REQUIRED
\""; } >&5
($PKG_CONFIG --exists --print-errors "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
") 2>&5
ac_status=$?
@@ -21317,11 +21319,12 @@ if test -n "$SCREENSAVER_CFLAGS"; then
test $ac_status = 0; }; then
pkg_cv_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
@@ -21337,20 +21340,22 @@ if test -n "$SCREENSAVER_LIBS"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
gdm
+ gio-2.0 >= \$GLIB_REQUIRED
gio-unix-2.0 >= \$GLIB_REQUIRED
glib-2.0 >= \$GLIB_REQUIRED
gnome-desktop-3.0 >= \$LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= \$GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= \$XXF86VM_REQUIRED
\""; } >&5
($PKG_CONFIG --exists --print-errors "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
") 2>&5
ac_status=$?
@@ -21358,11 +21363,12 @@ if test -n "$SCREENSAVER_LIBS"; then
test $ac_status = 0; }; then
pkg_cv_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
@@ -21387,21 +21393,23 @@ fi
if test $_pkg_short_errors_supported = yes; then
SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
" 2>&1`
else
SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
" 2>&1`
fi
@@ -21410,11 +21418,12 @@ fi
as_fn_error $? "Package requirements (
gdm
+ gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gnome-desktop-3.0 >= $LIBGNOME_DESKTOP_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
- libsystemd
+ libconsolekit
xxf86vm >= $XXF86VM_REQUIRED
) were not met:
@@ -22631,19 +22640,15 @@ fi
REQUIRED_COMPNENTS_GSD=" \
org.gnome.SettingsDaemon.A11ySettings \
org.gnome.SettingsDaemon.Color \
- org.gnome.SettingsDaemon.Datetime \
org.gnome.SettingsDaemon.Housekeeping \
org.gnome.SettingsDaemon.Keyboard \
org.gnome.SettingsDaemon.MediaKeys \
org.gnome.SettingsDaemon.Power \
org.gnome.SettingsDaemon.PrintNotifications \
- org.gnome.SettingsDaemon.Rfkill \
org.gnome.SettingsDaemon.ScreensaverProxy \
org.gnome.SettingsDaemon.Sharing \
org.gnome.SettingsDaemon.Smartcard \
org.gnome.SettingsDaemon.Sound \
- org.gnome.SettingsDaemon.UsbProtection \
- org.gnome.SettingsDaemon.Wacom \
org.gnome.SettingsDaemon.XSettings \
"

View File

@ -0,0 +1,10 @@
--- data/Makefile.in.orig 2024-03-23 18:21:43 UTC
+++ data/Makefile.in
@@ -456,7 +456,6 @@ SUBDIRS = \
menus \
schemas \
sessions \
- systemd \
theme \
ui \
xsessions \

View File

@ -0,0 +1,26 @@
--- data/autostart/Makefile.in.orig 2023-08-12 06:58:52 UTC
+++ data/autostart/Makefile.in
@@ -386,7 +386,6 @@ autostart_DATA = \
gnome-flashback-clipboard.desktop \
gnome-flashback-idle-monitor.desktop \
gnome-flashback-media-keys.desktop \
- gnome-flashback-nm-applet.desktop \
gnome-flashback-polkit.desktop \
$(NULL)
@@ -394,7 +393,6 @@ EXTRA_DIST = \
gnome-flashback-clipboard.desktop.in.in \
gnome-flashback-idle-monitor.desktop.in.in \
gnome-flashback-media-keys.desktop.in.in \
- gnome-flashback-nm-applet.desktop.in \
gnome-flashback-polkit.desktop.in.in \
$(NULL)
@@ -405,7 +403,6 @@ CLEANFILES = \
gnome-flashback-idle-monitor.desktop \
gnome-flashback-media-keys.desktop.in \
gnome-flashback-media-keys.desktop \
- gnome-flashback-nm-applet.desktop \
gnome-flashback-polkit.desktop.in \
gnome-flashback-polkit.desktop \
$(NULL)

View File

@ -0,0 +1,16 @@
--- data/schemas/00_gnome-flashback.gschema.override.orig 2023-08-12 06:50:17 UTC
+++ data/schemas/00_gnome-flashback.gschema.override
@@ -4,5 +4,13 @@ panel-main-menu=['<Alt>F1']
[org.gnome.desktop.wm.preferences:GNOME-Flashback]
button-layout='appmenu:minimize,maximize,close'
+[org.gnome.desktop.interface:GNOME-Flashback]
+icon-theme='AdwaitaLegacy'
+
[org.gnome.gnome-panel.general:GNOME-Flashback]
default-layout='gnome-flashback'
+
+[org.gnome.gnome-flashback:GNOME-Flashback]
+idle-monitor=false
+# Screencast is disabled in x11-wm/mutter → remote_desktop option
+screencast=false

View File

@ -0,0 +1,139 @@
--- dbus/Makefile.in.orig 2023-08-12 06:58:52 UTC
+++ dbus/Makefile.in
@@ -133,8 +133,8 @@ am__objects_2 = libdbus_la-gf-accounts-gen.lo \
libdbus_la-gf-file-manager-gen.lo \
libdbus_la-gf-gtk-notifications-gen.lo \
libdbus_la-gf-input-sources-gen.lo \
- libdbus_la-gf-login-manager-gen.lo \
- libdbus_la-gf-login-session-gen.lo \
+ libdbus_la-gf-consolekit-manager-gen.lo \
+ libdbus_la-gf-consolekit-session-gen.lo \
libdbus_la-gf-nautilus2-gen.lo \
libdbus_la-gf-upower-device-gen.lo \
libdbus_la-gf-screencast-gen.lo \
@@ -181,8 +181,8 @@ am__depfiles_remade = ./$(DEPDIR)/libdbus_la-gf-accoun
./$(DEPDIR)/libdbus_la-gf-file-manager-gen.Plo \
./$(DEPDIR)/libdbus_la-gf-gtk-notifications-gen.Plo \
./$(DEPDIR)/libdbus_la-gf-input-sources-gen.Plo \
- ./$(DEPDIR)/libdbus_la-gf-login-manager-gen.Plo \
- ./$(DEPDIR)/libdbus_la-gf-login-session-gen.Plo \
+ ./$(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Plo \
+ ./$(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Plo \
./$(DEPDIR)/libdbus_la-gf-nautilus2-gen.Plo \
./$(DEPDIR)/libdbus_la-gf-screencast-gen.Plo \
./$(DEPDIR)/libdbus_la-gf-screensaver-gen.Plo \
@@ -503,10 +503,10 @@ BUILT_SOURCES = \
gf-gtk-notifications-gen.h \
gf-input-sources-gen.c \
gf-input-sources-gen.h \
- gf-login-manager-gen.c \
- gf-login-manager-gen.h \
- gf-login-session-gen.c \
- gf-login-session-gen.h \
+ gf-consolekit-manager-gen.c \
+ gf-consolekit-manager-gen.h \
+ gf-consolekit-session-gen.c \
+ gf-consolekit-session-gen.h \
gf-nautilus2-gen.c \
gf-nautilus2-gen.h \
gf-upower-device-gen.c \
@@ -540,8 +540,8 @@ EXTRA_DIST = \
org.freedesktop.DBus.xml \
org.freedesktop.DisplayManager.Seat.xml \
org.freedesktop.FileManager1.xml \
- org.freedesktop.login1.Manager.xml \
- org.freedesktop.login1.Session.xml \
+ org.freedesktop.ConsoleKit.Manager.xml \
+ org.freedesktop.ConsoleKit.Session.xml \
org.freedesktop.Notifications.xml \
org.freedesktop.UPower.Device.xml \
org.gnome.Flashback.InputSources.xml \
@@ -631,8 +631,8 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-file-manager-gen.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-gtk-notifications-gen.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-input-sources-gen.Plo@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-login-manager-gen.Plo@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-login-session-gen.Plo@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Plo@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-nautilus2-gen.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-screencast-gen.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdbus_la-gf-screensaver-gen.Plo@am__quote@ # am--include-marker
@@ -753,19 +753,19 @@ libdbus_la-gf-input-sources-gen.lo: gf-input-sources-g
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -c -o libdbus_la-gf-input-sources-gen.lo `test -f 'gf-input-sources-gen.c' || echo '$(srcdir)/'`gf-input-sources-gen.c
-libdbus_la-gf-login-manager-gen.lo: gf-login-manager-gen.c
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -MT libdbus_la-gf-login-manager-gen.lo -MD -MP -MF $(DEPDIR)/libdbus_la-gf-login-manager-gen.Tpo -c -o libdbus_la-gf-login-manager-gen.lo `test -f 'gf-login-manager-gen.c' || echo '$(srcdir)/'`gf-login-manager-gen.c
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdbus_la-gf-login-manager-gen.Tpo $(DEPDIR)/libdbus_la-gf-login-manager-gen.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gf-login-manager-gen.c' object='libdbus_la-gf-login-manager-gen.lo' libtool=yes @AMDEPBACKSLASH@
+libdbus_la-gf-consolekit-manager-gen.lo: gf-consolekit-manager-gen.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -MT libdbus_la-gf-consolekit-manager-gen.lo -MD -MP -MF $(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Tpo -c -o libdbus_la-gf-consolekit-manager-gen.lo `test -f 'gf-consolekit-manager-gen.c' || echo '$(srcdir)/'`gf-consolekit-manager-gen.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Tpo $(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gf-consolekit-manager-gen.c' object='libdbus_la-gf-consolekit-manager-gen.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -c -o libdbus_la-gf-login-manager-gen.lo `test -f 'gf-login-manager-gen.c' || echo '$(srcdir)/'`gf-login-manager-gen.c
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -c -o libdbus_la-gf-consolekit-manager-gen.lo `test -f 'gf-consolekit-manager-gen.c' || echo '$(srcdir)/'`gf-consolekit-manager-gen.c
-libdbus_la-gf-login-session-gen.lo: gf-login-session-gen.c
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -MT libdbus_la-gf-login-session-gen.lo -MD -MP -MF $(DEPDIR)/libdbus_la-gf-login-session-gen.Tpo -c -o libdbus_la-gf-login-session-gen.lo `test -f 'gf-login-session-gen.c' || echo '$(srcdir)/'`gf-login-session-gen.c
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdbus_la-gf-login-session-gen.Tpo $(DEPDIR)/libdbus_la-gf-login-session-gen.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gf-login-session-gen.c' object='libdbus_la-gf-login-session-gen.lo' libtool=yes @AMDEPBACKSLASH@
+libdbus_la-gf-consolekit-session-gen.lo: gf-consolekit-session-gen.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -MT libdbus_la-gf-consolekit-session-gen.lo -MD -MP -MF $(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Tpo -c -o libdbus_la-gf-consolekit-session-gen.lo `test -f 'gf-consolekit-session-gen.c' || echo '$(srcdir)/'`gf-consolekit-session-gen.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Tpo $(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gf-consolekit-session-gen.c' object='libdbus_la-gf-consolekit-session-gen.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -c -o libdbus_la-gf-login-session-gen.lo `test -f 'gf-login-session-gen.c' || echo '$(srcdir)/'`gf-login-session-gen.c
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -c -o libdbus_la-gf-consolekit-session-gen.lo `test -f 'gf-consolekit-session-gen.c' || echo '$(srcdir)/'`gf-consolekit-session-gen.c
libdbus_la-gf-nautilus2-gen.lo: gf-nautilus2-gen.c
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdbus_la_CPPFLAGS) $(CPPFLAGS) $(libdbus_la_CFLAGS) $(CFLAGS) -MT libdbus_la-gf-nautilus2-gen.lo -MD -MP -MF $(DEPDIR)/libdbus_la-gf-nautilus2-gen.Tpo -c -o libdbus_la-gf-nautilus2-gen.lo `test -f 'gf-nautilus2-gen.c' || echo '$(srcdir)/'`gf-nautilus2-gen.c
@@ -997,8 +997,8 @@ distclean: distclean-am
-rm -f ./$(DEPDIR)/libdbus_la-gf-file-manager-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-gtk-notifications-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-input-sources-gen.Plo
- -rm -f ./$(DEPDIR)/libdbus_la-gf-login-manager-gen.Plo
- -rm -f ./$(DEPDIR)/libdbus_la-gf-login-session-gen.Plo
+ -rm -f ./$(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Plo
+ -rm -f ./$(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-nautilus2-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-screencast-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-screensaver-gen.Plo
@@ -1067,8 +1067,8 @@ maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/libdbus_la-gf-file-manager-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-gtk-notifications-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-input-sources-gen.Plo
- -rm -f ./$(DEPDIR)/libdbus_la-gf-login-manager-gen.Plo
- -rm -f ./$(DEPDIR)/libdbus_la-gf-login-session-gen.Plo
+ -rm -f ./$(DEPDIR)/libdbus_la-gf-consolekit-manager-gen.Plo
+ -rm -f ./$(DEPDIR)/libdbus_la-gf-consolekit-session-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-nautilus2-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-screencast-gen.Plo
-rm -f ./$(DEPDIR)/libdbus_la-gf-screensaver-gen.Plo
@@ -1184,17 +1184,17 @@ gf-input-sources-gen.c: org.gnome.Flashback.InputSourc
--generate-c-code gf-input-sources-gen \
$(srcdir)/org.gnome.Flashback.InputSources.xml
-gf-login-manager-gen.h:
-gf-login-manager-gen.c: org.freedesktop.login1.Manager.xml
+gf-consolekit-manager-gen.h:
+gf-consolekit-manager-gen.c: org.freedesktop.ConsoleKit.Manager.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
- --generate-c-code gf-login-manager-gen \
- $(srcdir)/org.freedesktop.login1.Manager.xml
+ --generate-c-code gf-consolekit-manager-gen \
+ $(srcdir)/org.freedesktop.ConsoleKit.Manager.xml
-gf-login-session-gen.h:
-gf-login-session-gen.c: org.freedesktop.login1.Session.xml
+gf-consolekit-session-gen.h:
+gf-consolekit-session-gen.c: org.freedesktop.ConsoleKit.Session.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
- --generate-c-code gf-login-session-gen \
- $(srcdir)/org.freedesktop.login1.Session.xml
+ --generate-c-code gf-consolekit-session-gen \
+ $(srcdir)/org.freedesktop.ConsoleKit.Session.xml
gf-nautilus2-gen.h:
gf-nautilus2-gen.c: org.gnome.Nautilus.FileOperations2.xml

View File

@ -0,0 +1,32 @@
--- dbus/org.freedesktop.login1.Manager.xml.orig 2021-11-02 10:13:49 UTC
+++ dbus/org.freedesktop.login1.Manager.xml
@@ -2,21 +2,23 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="org.freedesktop.login1.Manager">
+ <interface name="org.freedesktop.ConsoleKit.Manager">
<annotation name="org.gtk.GDBus.C.Name" value="LoginManagerGen" />
- <method name="GetSession">
- <arg name="session_id" type="s" direction="in" />
- <arg name="object_path" type="o" direction="out" />
+ <method name="GetCurrentSession">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <arg name="ssid" type="o" direction="out" />
</method>
<method name="Inhibit">
- <annotation name="org.gtk.GDBus.C.UnixFD" value="true" />
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.gtk.GDBus.Since" value="0.9.0"/>
+ <annotation name="org.gtk.GDBus.C.UnixFD" value="4"/>
<arg name="what" type="s" direction="in" />
<arg name="who" type="s" direction="in" />
<arg name="why" type="s" direction="in" />
<arg name="mode" type="s" direction="in" />
- <arg name="pipe_fd" type="h" direction="out" />
+ <arg name="fd" type="h" direction="out" />
</method>
<signal name="PrepareForSleep">

View File

@ -0,0 +1,20 @@
--- dbus/org.freedesktop.login1.Session.xml.orig 2021-11-02 10:13:49 UTC
+++ dbus/org.freedesktop.login1.Session.xml
@@ -2,14 +2,15 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
- <interface name="org.freedesktop.login1.Session">
+ <interface name="org.freedesktop.ConsoleKit.Session">
<annotation name="org.gtk.GDBus.C.Name" value="LoginSessionGen" />
- <property name="Active" type="b" access="read" />
+ <property name="active" type="b" access="read" />
<property name="LockedHint" type="b" access="read" />
<method name="SetLockedHint">
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg direction="in" type="b" />
</method>

View File

@ -0,0 +1,17 @@
--- gnome-flashback/libdesktop/gf-trash-icon.c.orig 2021-11-02 10:13:49 UTC
+++ gnome-flashback/libdesktop/gf-trash-icon.c
@@ -179,10 +179,10 @@ gf_trash_icon_create_file_monitor (GfIcon *icon)
g_clear_object (&self->monitor);
error = NULL;
- self->monitor = g_file_monitor_directory (gf_icon_get_file (GF_ICON (self)),
- G_FILE_MONITOR_WATCH_MOVES,
- self->cancellable,
- &error);
+ self->monitor = g_file_monitor (gf_icon_get_file (GF_ICON (self)),
+ G_FILE_MONITOR_NONE,
+ self->cancellable,
+ &error);
if (error != NULL)
{

View File

@ -0,0 +1,25 @@
--- gnome-flashback/libdesktop/gf-utils.c.orig 2025-04-26 13:51:39 UTC
+++ gnome-flashback/libdesktop/gf-utils.c
@@ -20,11 +20,14 @@
#include <gio/gdesktopappinfo.h>
#include <gtk/gtk.h>
+#ifdef __linux__
#include <systemd/sd-journal.h>
+#endif
static void
child_setup (gpointer user_data)
{
+#ifdef __linux__
GAppInfo *app_info;
const gchar *id;
gint stdout_fd;
@@ -46,6 +49,7 @@ child_setup (gpointer user_data)
dup2 (stderr_fd, STDERR_FILENO);
close (stderr_fd);
}
+#endif
}
static void

View File

@ -0,0 +1,253 @@
--- gnome-flashback/libscreensaver/gf-listener.c.orig 2023-08-12 06:50:17 UTC
+++ gnome-flashback/libscreensaver/gf-listener.c
@@ -26,16 +26,16 @@
#include <gio/gunixfdlist.h>
#include <time.h>
-#include "dbus/gf-login-manager-gen.h"
-#include "dbus/gf-login-session-gen.h"
+#include "dbus/gf-consolekit-manager-gen.h"
+#include "dbus/gf-consolekit-session-gen.h"
#include "dbus/gf-screensaver-gen.h"
#include "gf-screensaver-utils.h"
#define SCREENSAVER_DBUS_NAME "org.gnome.ScreenSaver"
#define SCREENSAVER_DBUS_PATH "/org/gnome/ScreenSaver"
-#define LOGIN_DBUS_NAME "org.freedesktop.login1"
-#define LOGIN_DBUS_PATH "/org/freedesktop/login1"
+#define LOGIN_DBUS_NAME "org.freedesktop.ConsoleKit"
+#define LOGIN_DBUS_PATH "/org/freedesktop/ConsoleKit/Manager"
struct _GfListener
{
@@ -45,8 +45,8 @@ struct _GfListener
guint screensaver_id;
guint login_id;
- GfLoginSessionGen *login_session;
- GfLoginManagerGen *login_manager;
+ GfConsoleKitSessionGen *login_session;
+ GfConsoleKitManagerGen *login_manager;
gboolean active;
time_t active_start;
@@ -80,7 +80,7 @@ release_inhibit_lock (GfListener *self)
if (self->inhibit_lock_fd < 0)
return;
- g_debug ("Releasing systemd inhibit lock");
+ g_debug ("Releasing ConsoleKit2 inhibit lock");
close (self->inhibit_lock_fd);
self->inhibit_lock_fd = -1;
@@ -100,8 +100,8 @@ inhibit_cb (GObject *object,
error = NULL;
pipe_fd = NULL;
- gf_login_manager_gen_call_inhibit_finish (GF_LOGIN_MANAGER_GEN (object),
- &pipe_fd, &fd_list, res, &error);
+ gf_console_kit_manager_gen_call_inhibit_finish (GF_CONSOLE_KIT_MANAGER_GEN (object),
+ &pipe_fd, &fd_list, res, &error);
if (error != NULL)
{
@@ -135,16 +135,16 @@ take_inhibit_lock (GfListener *self)
if (self->inhibit_lock_fd >= 0)
return;
- g_debug ("Taking systemd inhibit lock");
- gf_login_manager_gen_call_inhibit (self->login_manager,
- "sleep",
- "GNOME Flashback",
- "GNOME Flashback needs to lock the screen",
- "delay",
- NULL,
- NULL,
- inhibit_cb,
- self);
+ g_debug ("Taking ConsoleKit2 inhibit lock");
+ gf_console_kit_manager_gen_call_inhibit (self->login_manager,
+ "sleep",
+ "GNOME Flashback",
+ "GNOME Flashback needs to lock the screen",
+ "delay",
+ NULL,
+ NULL,
+ inhibit_cb,
+ self);
}
static void
@@ -309,27 +309,27 @@ name_lost_handler (GDBusConnection *connection,
}
static void
-lock_cb (GfLoginSessionGen *login_session,
+lock_cb (GfConsoleKitSessionGen *login_session,
GfListener *self)
{
- g_debug ("systemd requested session lock");
+ g_debug ("ConsoleKit2 requested session lock");
g_signal_emit (self, listener_signals[LOCK], 0);
}
static void
-unlock_cb (GfLoginSessionGen *login_session,
+unlock_cb (GfConsoleKitSessionGen *login_session,
GfListener *self)
{
- g_debug ("systemd requested session unlock");
+ g_debug ("ConsoleKit2 requested session unlock");
gf_listener_set_active (self, FALSE);
}
static void
-notify_active_cb (GfLoginSessionGen *login_session,
+notify_active_cb (GfConsoleKitSessionGen *login_session,
GParamSpec *pspec,
GfListener *self)
{
- if (gf_login_session_gen_get_active (login_session))
+ if (gf_console_kit_session_gen_get_active (login_session))
g_signal_emit (self, listener_signals[SIMULATE_USER_ACTIVITY], 0);
}
@@ -339,11 +339,11 @@ login_session_ready_cb (GObject *object,
gpointer user_data)
{
GError *error;
- GfLoginSessionGen *login_session;
+ GfConsoleKitSessionGen *login_session;
GfListener *self;
error = NULL;
- login_session = gf_login_session_gen_proxy_new_for_bus_finish (res, &error);
+ login_session = gf_console_kit_session_gen_proxy_new_for_bus_finish (res, &error);
if (error != NULL)
{
@@ -365,9 +365,9 @@ login_session_ready_cb (GObject *object,
g_signal_connect (self->login_session, "notify::active",
G_CALLBACK (notify_active_cb), self);
- if (gf_login_session_gen_get_locked_hint (self->login_session))
+ if (gf_console_kit_session_gen_get_locked_hint (self->login_session))
{
- g_debug ("systemd LockedHint=True");
+ g_debug ("ConsoleKit2 LockedHint=True");
g_signal_emit (self, listener_signals[LOCK], 0);
}
}
@@ -383,10 +383,10 @@ get_session_cb (GObject *object,
object_path = NULL;
error = NULL;
- gf_login_manager_gen_call_get_session_finish (GF_LOGIN_MANAGER_GEN (object),
- &object_path,
- res,
- &error);
+ gf_console_kit_manager_gen_call_get_session_for_cookie_finish (GF_CONSOLE_KIT_MANAGER_GEN (object),
+ &object_path,
+ res,
+ &error);
if (error != NULL)
{
@@ -397,19 +397,19 @@ get_session_cb (GObject *object,
return;
}
- gf_login_session_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
- G_DBUS_PROXY_FLAGS_NONE,
- LOGIN_DBUS_NAME,
- object_path,
- NULL,
- login_session_ready_cb,
- user_data);
+ gf_console_kit_session_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
+ G_DBUS_PROXY_FLAGS_NONE,
+ LOGIN_DBUS_NAME,
+ object_path,
+ NULL,
+ login_session_ready_cb,
+ user_data);
g_free (object_path);
}
static void
-prepare_for_sleep_cb (GfLoginManagerGen *login_manager,
+prepare_for_sleep_cb (GfConsoleKitManagerGen *login_manager,
gboolean start,
GfListener *self)
{
@@ -431,12 +431,12 @@ login_manager_ready_cb (GObject *object,
gpointer user_data)
{
GError *error;
- GfLoginManagerGen *login_manager;
+ GfConsoleKitManagerGen *login_manager;
GfListener *self;
char *session_id;
error = NULL;
- login_manager = gf_login_manager_gen_proxy_new_for_bus_finish (res, &error);
+ login_manager = gf_console_kit_manager_gen_proxy_new_for_bus_finish (res, &error);
if (error != NULL)
{
@@ -460,11 +460,11 @@ login_manager_ready_cb (GObject *object,
{
g_debug ("Session id: %s", session_id);
- gf_login_manager_gen_call_get_session (self->login_manager,
- session_id,
- NULL,
- get_session_cb,
- self);
+ gf_console_kit_manager_gen_call_get_session_for_cookie (self->login_manager,
+ session_id,
+ NULL,
+ get_session_cb,
+ self);
g_free (session_id);
}
@@ -480,11 +480,11 @@ name_appeared_handler (GDBusConnection *connection,
const gchar *name_owner,
gpointer user_data)
{
- gf_login_manager_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
- G_DBUS_PROXY_FLAGS_NONE,
- LOGIN_DBUS_NAME, LOGIN_DBUS_PATH,
- NULL, login_manager_ready_cb,
- user_data);
+ gf_console_kit_manager_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
+ G_DBUS_PROXY_FLAGS_NONE,
+ LOGIN_DBUS_NAME, LOGIN_DBUS_PATH,
+ NULL, login_manager_ready_cb,
+ user_data);
}
static void
@@ -589,7 +589,7 @@ gf_listener_init (GfListener *self)
self->inhibit_lock_fd = -1;
/* check if logind is running */
- if (access("/run/systemd/seats/", F_OK) >= 0)
+ if (access("/var/run/consolekit.pid", F_OK) >= 0)
{
self->login_id = g_bus_watch_name (G_BUS_TYPE_SYSTEM,
LOGIN_DBUS_NAME,
@@ -654,8 +654,8 @@ gf_listener_set_active (GfListener *listener,
if (listener->login_session)
{
- gf_login_session_gen_call_set_locked_hint (listener->login_session,
- active, NULL, NULL, NULL);
+ gf_console_kit_session_gen_call_set_locked_hint (listener->login_session,
+ active, NULL, NULL, NULL);
}
gf_screensaver_gen_emit_active_changed (listener->screensaver, active);

View File

@ -0,0 +1,12 @@
--- gnome-flashback/libscreensaver/gf-screensaver-utils.c.orig 2023-08-12 06:50:17 UTC
+++ gnome-flashback/libscreensaver/gf-screensaver-utils.c
@@ -18,7 +18,8 @@
#include "config.h"
#include "gf-screensaver-utils.h"
-#include <systemd/sd-login.h>
+#include <gio/gio.h>
+#include <sd-login.h>
#include <unistd.h>
gboolean

View File

@ -0,0 +1,11 @@
--- gnome-flashback/libscreensaver/gf-screensaver.c.orig 2021-11-02 10:13:49 UTC
+++ gnome-flashback/libscreensaver/gf-screensaver.c
@@ -30,7 +30,7 @@
#include "gf-prefs.h"
#include "gf-watcher.h"
-#define PAM_CONFIG_FILE "/etc/pam.d/gnome-flashback"
+#define PAM_CONFIG_FILE "%%PREFIX%%/etc/pam.d/gnome-flashback"
struct _GfScreensaver
{

View File

@ -0,0 +1,16 @@
[
{ type: install
message: <<EOM
In order to launch your session. Copy 'xprofile' into your home directory:
cp %%EXAMPLESDIR%%/xprofile ~/.xprofile
Create or edit /var/db/AccountsService/users/YOURLOGIN file:
[User]
Language=fr_FR.UTF-8 # e.g. for French users
Session=gnome-flashback-metacity
SystemAccount=false
Replace YOURLOGIN by your login.
EOM
}
]

View File

@ -0,0 +1,2 @@
This package contains the GNOME Flashback backend. It provides the
'gnome-flashback' and 'gnome-flashback-clipboard' programs.

View File

@ -0,0 +1,58 @@
bin/gnome-flashback
etc/xdg/autostart/gnome-flashback-clipboard.desktop
etc/xdg/autostart/gnome-flashback-geoclue-demo-agent.desktop
etc/xdg/autostart/gnome-flashback-idle-monitor.desktop
etc/xdg/autostart/gnome-flashback-media-keys.desktop
etc/xdg/autostart/gnome-flashback-polkit.desktop
etc/xdg/menus/gnome-flashback-applications.menu
etc/pam.d/gnome-flashback
lib/gnome-panel/modules/system_indicators.so
libexec/gnome-flashback-clipboard
libexec/gnome-flashback-idle-monitor
libexec/gnome-flashback-media-keys
libexec/gnome-flashback-metacity
libexec/gnome-flashback-polkit
share/applications/gnome-flashback.desktop
share/desktop-directories/X-GNOME-Flashback-Science.directory
share/desktop-directories/X-GNOME-Flashback-Settings-System.directory
share/desktop-directories/X-GNOME-Flashback-Settings.directory
share/gnome-control-center/keybindings/50-gnome-flashback-screenshots.xml
share/gnome-panel/layouts/gnome-flashback.layout
share/gnome-session/sessions/gnome-flashback-metacity.session
share/locale/bs/LC_MESSAGES/gnome-flashback.mo
share/locale/ca/LC_MESSAGES/gnome-flashback.mo
share/locale/cs/LC_MESSAGES/gnome-flashback.mo
share/locale/da/LC_MESSAGES/gnome-flashback.mo
share/locale/de/LC_MESSAGES/gnome-flashback.mo
share/locale/el/LC_MESSAGES/gnome-flashback.mo
share/locale/es/LC_MESSAGES/gnome-flashback.mo
share/locale/eu/LC_MESSAGES/gnome-flashback.mo
share/locale/fa/LC_MESSAGES/gnome-flashback.mo
share/locale/fi/LC_MESSAGES/gnome-flashback.mo
share/locale/fur/LC_MESSAGES/gnome-flashback.mo
share/locale/he/LC_MESSAGES/gnome-flashback.mo
share/locale/hr/LC_MESSAGES/gnome-flashback.mo
share/locale/hu/LC_MESSAGES/gnome-flashback.mo
share/locale/id/LC_MESSAGES/gnome-flashback.mo
share/locale/it/LC_MESSAGES/gnome-flashback.mo
share/locale/ka/LC_MESSAGES/gnome-flashback.mo
share/locale/lv/LC_MESSAGES/gnome-flashback.mo
share/locale/nb/LC_MESSAGES/gnome-flashback.mo
share/locale/nl/LC_MESSAGES/gnome-flashback.mo
share/locale/oc/LC_MESSAGES/gnome-flashback.mo
share/locale/pl/LC_MESSAGES/gnome-flashback.mo
share/locale/pt/LC_MESSAGES/gnome-flashback.mo
share/locale/pt_BR/LC_MESSAGES/gnome-flashback.mo
share/locale/ro/LC_MESSAGES/gnome-flashback.mo
share/locale/ru/LC_MESSAGES/gnome-flashback.mo
share/locale/sk/LC_MESSAGES/gnome-flashback.mo
share/locale/sl/LC_MESSAGES/gnome-flashback.mo
share/locale/sr/LC_MESSAGES/gnome-flashback.mo
share/locale/sr@latin/LC_MESSAGES/gnome-flashback.mo
share/locale/sv/LC_MESSAGES/gnome-flashback.mo
share/locale/tr/LC_MESSAGES/gnome-flashback.mo
share/locale/uk/LC_MESSAGES/gnome-flashback.mo
share/locale/zh_CN/LC_MESSAGES/gnome-flashback.mo
share/locale/zh_HK/LC_MESSAGES/gnome-flashback.mo
share/locale/zh_TW/LC_MESSAGES/gnome-flashback.mo
share/xsessions/gnome-flashback-metacity.desktop