Compare commits

...
Sign in to create a new pull request.

25 commits

Author SHA1 Message Date
Mamoru TASAKA
0cccf489d8 Add workaround for setting a11y bus explicitly 2025-08-15 21:04:10 +09:00
Fedora Release Engineering
6f6c0578a7 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 21:08:18 +00:00
Mamoru TASAKA
1a5fceb139 0.5.6 2025-04-03 16:20:32 +09:00
Mamoru TASAKA
fe29e221e7 update to the latest git 2025-02-14 00:07:05 +09:00
Fedora Release Engineering
194b4fab1f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 16:35:52 +00:00
Mamoru TASAKA
18e8a1e5ab Update to the latest git
Update to the latest git
Update to the latest git
2024-08-25 16:50:24 +09:00
Mamoru TASAKA
ceaaf2df28 Update to the latest git 2024-08-13 14:34:53 +09:00
Fedora Release Engineering
49a548872e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 16:29:12 +00:00
Mamoru TASAKA
0dca476d35 Apply upstream PR for gcc14 -Werror=incompatible-pointer-types 2024-02-25 17:06:37 +09:00
Fedora Release Engineering
756d4a0856 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 05:30:31 +00:00
Mamoru TASAKA
278ae10ee1 Change -Wincompatible-pointer-types from error to warning 2024-01-19 19:30:24 +09:00
Mamoru TASAKA
36c8760624 Update to the latest git 2023-12-31 12:24:06 +09:00
Mamoru TASAKA
aef7afccd6 Remove no longer used conditional 2023-12-31 12:12:36 +09:00
Mamoru TASAKA
bdb64b2f3a Update to the latest git 2023-08-15 14:30:04 +09:00
Mamoru TASAKA
222f986c92 indentation, SPDX migration, EVR scheme change 2023-08-15 14:13:23 +09:00
Fedora Release Engineering
26364209e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 13:30:33 +00:00
Mamoru TASAKA
688e9dd7bd Always create parent directory for lxsession autostart file (bug 2213030) 2023-06-12 16:54:38 +09:00
Mamoru TASAKA
eac7d6d7b1 fix baserelease usage 2023-03-24 16:22:02 +09:00
Mamoru TASAKA
71b9ac6acf rename release macro to make rpmdev-bumprelease work 2023-03-13 10:15:38 +09:00
Mamoru TASAKA
733c84e34d F-37+: kill appindicator support for now due to 12.10.1 GTK2 support removal 2023-01-20 11:06:44 +09:00
Fedora Release Engineering
081496bc2b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:43:51 +00:00
Mamoru TASAKA
587882ddef Update to the latest git (20210419) 2022-09-13 15:21:47 +09:00
Fedora Release Engineering
459c2e645c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 20:17:46 +00:00
Fedora Release Engineering
d3b3bf0074 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 18:29:26 +00:00
Fedora Release Engineering
ac9517058f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:32:40 +00:00
7 changed files with 345 additions and 214 deletions

14
.gitignore vendored
View file

@ -1,13 +1 @@
lxsession-0.4.4.tar.gz
/lxsession-0.4.5.tar.gz
/lxsession-0.4.6.1.tar.gz
/0.5.2.tar.gz
/lxsession-0.5.2.tar.xz
/lxsession-0.5.2-D20160417git9f8d613332abec5ec0b64b94e1a17caa0c56798b.tar.gz
/lxsession-0.5.2-D20160817git699c1695c2adcf0ec04d9da579c65a66417064f0.tar.gz
/lxsession-0.5.2-D20161106git7b9a9580da6929af5bf8d1c577cc61db990c8d91.tar.gz
/lxsession-0.5.3-D20161210gite284f41ad4467c8b292d94cbcbc9a3393c618da5.tar.gz
/lxsession-0.5.3.tar.xz
/lxsession-0.5.4.tar.xz
/lxsession-0.5.5.tar.xz
/lxsession-20210202T1502.tar.gz
/lxsession-*.tar.gz

View file

@ -1,54 +0,0 @@
From 542069fede56b083d436c394357d1ddf1fd44dec Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Sat, 13 Mar 2021 01:11:13 +0900
Subject: [PATCH] xdg-autostart: never reuse GKeyFile object
As written on:
https://developer.gnome.org/glib/stable/glib-Key-value-file-parser.html#g-key-file-load-from-file
an empty GKeyFile object must be passed to g_key_file_load_from_file .
---
xdg-autostart/xdg-autostart.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/xdg-autostart/xdg-autostart.c b/xdg-autostart/xdg-autostart.c
index 460d4f6..9c9317d 100644
--- a/xdg-autostart/xdg-autostart.c
+++ b/xdg-autostart/xdg-autostart.c
@@ -175,7 +175,7 @@ _finish:
}
#endif
-static void launch_autostart_file( const char* desktop_id, const char* desktop_file, GKeyFile* kf)
+static void launch_autostart_file_internal( const char* desktop_id, const char* desktop_file, GKeyFile* kf)
{
if( g_key_file_load_from_file( kf, desktop_file, 0, NULL ) )
{
@@ -266,6 +266,14 @@ static void launch_autostart_file( const char* desktop_id, const char* desktop_f
}
}
+static void launch_autostart_file( const char* desktop_id, const char* desktop_file )
+{
+ GKeyFile* kf = g_key_file_new();
+ launch_autostart_file_internal( desktop_id, desktop_file, kf );
+ g_key_file_free( kf );
+}
+
+
static void get_autostart_files_in_dir( GHashTable* hash, const char* base_dir )
{
char* dir_path = g_build_filename( base_dir, "autostart", NULL );
@@ -313,9 +321,7 @@ void xdg_autostart( const char* de_name_arg )
if( g_hash_table_size( hash ) > 0 )
{
- GKeyFile* kf = g_key_file_new();
- g_hash_table_foreach( hash, (GHFunc)launch_autostart_file, kf);
- g_key_file_free( kf );
+ g_hash_table_foreach( hash, (GHFunc)launch_autostart_file, NULL );
}
g_hash_table_destroy( hash );
--
2.30.2

View file

@ -1,50 +0,0 @@
From 5d2d43b1189a52aa5a98d93496f71f0348729b0e Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Sat, 20 Mar 2021 23:45:09 +0900
Subject: [PATCH] load_autostart: never reuse GKeyFile object
As written on:
https://developer.gnome.org/glib/stable/glib-Key-value-file-parser.html#g-key-file-load-from-file
an empty GKeyFile object must be passed to g_key_file_load_from_file .
---
lxsession-edit/lxsession-edit-common.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lxsession-edit/lxsession-edit-common.c b/lxsession-edit/lxsession-edit-common.c
index 3de3dbb..019416d 100644
--- a/lxsession-edit/lxsession-edit-common.c
+++ b/lxsession-edit/lxsession-edit-common.c
@@ -136,9 +136,10 @@ void get_autostart_files_in_dir( GHashTable* hash, const char* session_name, con
g_free( dir_path );
}
-void add_autostart_file(char* desktop_id, char* file, GKeyFile* kf)
+void add_autostart_file(char* desktop_id, char* file )
{
GtkTreeIter it;
+ GKeyFile* kf = g_key_file_new();
const char* session_name_local = NULL;
@@ -176,6 +177,7 @@ void add_autostart_file(char* desktop_id, char* file, GKeyFile* kf)
g_free(comment);
}
}
+ g_key_file_free( kf );
}
void load_autostart(const char* session_name)
@@ -193,9 +195,7 @@ void load_autostart(const char* session_name)
if( g_hash_table_size( hash ) > 0 )
{
- GKeyFile* kf = g_key_file_new();
- g_hash_table_foreach( hash, (GHFunc)add_autostart_file, kf );
- g_key_file_free( kf );
+ g_hash_table_foreach( hash, (GHFunc)add_autostart_file, NULL );
}
g_hash_table_destroy( hash );
}
--
2.30.2

View file

@ -0,0 +1,144 @@
diff --git a/Makefile.am b/Makefile.am
index 5a1177e..7d20d37 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -459,9 +459,13 @@ lxsession_lxsession_CPPFLAGS += \
lxsession_lxsession_LDADD += \
$(GTK_LIBS)
+if USE_INDICATOR
+lxsession_lxsession_VALAFLAGS += \
+ --pkg appindicator-0.1
+endif
+
if USE_ADVANCED_NOTIFICATIONS
lxsession_lxsession_VALAFLAGS += \
- --pkg appindicator-0.1 \
--pkg libnotify \
-D USE_ADVANCED_NOTIFICATIONS
diff --git a/configure.ac b/configure.ac
index 38c6c93..33a6fc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,7 +108,6 @@ else
AS_HELP_STRING([--enable-advanced-notifications],
[Build with advanced notification using indicators and libnotify (default: no)]),
use_advanced_notifications=$enableval, use_advanced_notifications="no")
-
fi
AM_CONDITIONAL(USE_BUILDIN_CLIPBOARD, test "$use_buildin_clipboard" = "yes")
@@ -117,7 +116,8 @@ AM_CONDITIONAL(USE_GTK3, test "$enable_gtk3" = "yes")
AM_CONDITIONAL(USE_ADVANCED_NOTIFICATIONS, test "$use_advanced_notifications" = "yes")
if test "$use_advanced_notifications" = "yes"; then
- PKG_CHECK_MODULES(INDICATORS, [indicator-0.4 >= 0.4.93 appindicator-0.1])
+ use_indicator=no
+ PKG_CHECK_MODULES(INDICATORS, [indicator-0.4 >= 0.4.93 appindicator-0.1], [use_indicator=no], [use_indicator=no])
AC_SUBST(INDICATORS_CFLAGS)
AC_SUBST(INDICATORS_LIBS)
@@ -126,6 +126,9 @@ if test "$use_advanced_notifications" = "yes"; then
AC_SUBST(LIBNOTIFY_LIBS)
fi
+AM_CONDITIONAL(USE_INDICATOR, test "$use_indicator" = "yes")
+
+
if test "$use_buildin_polkit" = "yes"; then
HIDE_LXPOLKIT_AUTOSTART=true
else
diff --git a/lxsession/notifications.vala b/lxsession/notifications.vala
index 5432aa8..b706ab8 100644
--- a/lxsession/notifications.vala
+++ b/lxsession/notifications.vala
@@ -19,7 +19,9 @@
#if USE_GTK
using Gtk;
#if USE_ADVANCED_NOTIFICATIONS
+#if USE_INDICATOR
using AppIndicator;
+#endif
using Notify;
#endif
#endif
@@ -78,7 +80,9 @@ namespace Lxsession
public MenuObject menu;
#if USE_GTK
#if USE_ADVANCED_NOTIFICATIONS
+#if USE_INDICATOR
public Indicator indicator;
+#endif
public Notify.Notification notification;
#endif
#endif
@@ -106,7 +110,9 @@ namespace Lxsession
this.menu = menu_param;
#if USE_GTK
#if USE_ADVANCED_NOTIFICATIONS
+#if USE_INDICATOR
this.indicator = new Indicator(this.name, this.icon_name, IndicatorCategory.APPLICATION_STATUS);
+#endif
this.notification = new Notify.Notification ("LXsession", this.notification_text, this.icon_name);
this.notification.set_timeout(6000);
#endif
@@ -117,6 +123,7 @@ namespace Lxsession
#if USE_ADVANCED_NOTIFICATIONS
public void init()
{
+#if USE_INDICATOR
if (this.indicator == null)
{
this.indicator = new Indicator(this.name, this.icon_name, IndicatorCategory.APPLICATION_STATUS);
@@ -128,10 +135,12 @@ namespace Lxsession
{
this.indicator.set_menu(this.menu);
}
+#endif
}
public void activate()
{
+#if USE_INDICATOR
message("Try activate");
if (this.indicator != null)
{
@@ -147,10 +156,12 @@ namespace Lxsession
}
message("Activate done");
}
+#endif
}
public void inactivate()
{
+#if USE_INDICATOR
message("Try inactivate");
if (this.indicator != null)
{
@@ -158,19 +169,24 @@ namespace Lxsession
this.indicator.set_status(IndicatorStatus.PASSIVE);
message("Inactivate done");
}
+#endif
}
public void set_icon(string param_icon_name)
{
+#if USE_INDICATOR
this.icon_name = param_icon_name;
message("Set new icon");
this.indicator.icon_name = param_icon_name;
+#endif
}
public void set_menu(MenuObject param_menu)
{
+#if USE_INDICATOR
this.menu = param_menu;
this.indicator.set_menu(param_menu);
+#endif
}
public void add_action (string action, string label, owned ActionCallback callback)

View file

@ -0,0 +1,26 @@
From e935beaa73f30dd54253f96ca951a4b47fc9a3b7 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Fri, 15 Aug 2025 15:35:58 +0900
Subject: [PATCH] lxsession: workaround for setting ally bus
---
lxsession/environement.vala | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lxsession/environement.vala b/lxsession/environement.vala
index a18f840..503f3f0 100644
--- a/lxsession/environement.vala
+++ b/lxsession/environement.vala
@@ -281,6 +281,9 @@ namespace Lxsession
}
*/
+ /* Workaround: set up ally bus */
+ lxsession_spawn_command_line_async("gdbus call --session --dest org.a11y.Bus --object-path /org/a11y/bus --method org.a11y.Bus.GetAddress");
+
if (global_settings.get_item_string("Environment", "toolkit_integration", null) == "true")
{
/* Enable toolkit integration for OpenOffice.org / LibreOffice, if available. */
--
2.50.1

View file

@ -2,105 +2,100 @@
# renamed from lxsession-lite. Original review at
# https://bugzilla.redhat.com/show_bug.cgi?id=442268
%global use_release 0
%global use_git 0
%global use_gitbare 1
%global use_release 0
%global use_gitbare 1
%if 0%{?use_git} < 1
%if 0%{?use_gitbare} < 1
# force
%global use_release 1
%endif
%global use_release 1
%endif
%if 0%{?use_git}
%global git_rev 138ff9b22b45192a3b020ebbbed04e9060470a66
%global git_date 20161125
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version D%{git_date}git%{git_short}
%endif
%global git_version %{nil}
%global git_ver_rpm %{nil}
%global git_builddir %{nil}
%if 0%{?use_gitbare}
%global gittardate 20210202
%global gittartime 1502
%global gitbaredate 20210130
%global git_rev 8543c00a2de2533d1fb2d661508410df1c073011
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version D%{gitbaredate}git%{git_short}
%global gittardate 20250403
%global gittartime 1600
%define use_gitcommit_as_rel 0
%global gitbaredate 20250330
%global git_rev 886b9ad90f98b12c775313331431769295138f69
%global git_short %(echo %{git_rev} | cut -c-8)
%global git_version %{gitbaredate}git%{git_short}
%if 0%{?use_gitcommit_as_rel}
%global git_ver_rpm ^%{git_version}
%global git_builddir -%{git_version}
%endif
%endif
%global mainrel 7
%if 0%{?use_release} >= 1
%global fedorarel %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}
%endif
%if 0%{?use_git} >= 1
%global fedorarel %{mainrel}.%{git_version}
%endif
%if 0%{?use_gitbare} >= 1
%global fedorarel %{mainrel}.%{git_version}
%endif
%global main_version 0.5.6
Name: lxsession
Version: 0.5.5
Release: %{fedorarel}%{?dist}
Summary: Lightweight X11 session manager
Summary(de): Leichtgewichtiger X11 Sitzungsverwalter
Name: lxsession
Version: %{main_version}%{git_ver_rpm}
Release: 3%{?dist}
Summary: Lightweight X11 session manager
Summary(de): Leichtgewichtiger X11 Sitzungsverwalter
License: GPLv2+
URL: http://lxde.sourceforge.net/
# LGPL-3.0-or-later lxsession-logout/lxsession-logout-dbus-interface.c
# HPND lxsettings-daemon/xsettings-common.c and some files under lxsettings-daemon/
# GPL-2.0-or-later Others
# SPDX confirmed
License: GPL-2.0-or-later AND HPND AND LGPL-3.0-or-later
URL: http://lxde.sourceforge.net/
%if 0%{?use_gitbare}
Source0: %{name}-%{gittardate}T%{gittartime}.tar.gz
%endif
%if 0%{?use_git}
Source0: %{name}-%{version}-%{?git_version}.tar.bz2
%endif
%if 0%{?use_release}
Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.xz
Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.xz
%endif
# https://github.com/lxde/lxsession/pull/27
# Fix lxsession-xdg-autostart segfault
Patch1: lxsession-0.5.5-0001-xdg-autostart-never-reuse-GKeyFile-object.patch
# https://github.com/lxde/lxsession/pull/28
# Fix lxsession-default-apps segfault
Patch2: lxsession-0.5.5-0002-load_autostart-never-reuse-GKeyFile-object.patch
#http://sourceforge.net/p/lxde/bugs/760/
Patch1000: lxsession-0.5.2-git9f8d6133-reload.patch
Patch1002: lxsession-0.5.2-notify-daemon-default.patch
Patch1000: lxsession-0.5.2-git9f8d6133-reload.patch
Patch1002: lxsession-0.5.2-notify-daemon-default.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1801071
# race condition when calling "lxsession -r" from imsettings-lxde and when daemon is not configured yet
# explicitly do nullptr check
Patch1005: lxsession-0.5.4-load-settings-nullcheck.patch
Patch1005: lxsession-0.5.4-load-settings-nullcheck.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1830588
# add custom directory to XDG_CONFIG_DIRS
Patch2001: lxsession-0.5.5-add-custom-xdg-config-dir.patch
Patch2001: lxsession-0.5.5-add-custom-xdg-config-dir.patch
# Split out appindicator support and kill it for now:
# libappindicator 12.10.1 kills GTK2 vapi support
Patch2002: lxsession-0.5.5-split-indicator-support.patch
# Workaround for explicitly setting ally bus
# ref: https://bugzilla.redhat.com/show_bug.cgi?id=2209584#c6
# ref: https://forums.gentoo.org/viewtopic-t-1172784-start-75-postdays-0-postorder-asc-highlight-.html
Patch2003: lxsession-0.5.6-lxsession-workaround-for-setting-ally-bus.patch
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(indicator-0.4)
BuildRequires: pkgconfig(appindicator-0.1)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: make
BuildRequires: vala
BuildRequires: docbook-utils
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: docbook-style-xsl
BuildRequires: %{_bindir}/xsltproc
BuildRequires: pkgconfig(gtk+-2.0)
#BuildRequires: pkgconfig(indicator-0.4)
#BuildRequires: pkgconfig(appindicator-0.1)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: make
BuildRequires: vala
BuildRequires: docbook-utils
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: docbook-style-xsl
BuildRequires: /usr/bin/xsltproc
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: %{_bindir}/git
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: /usr/bin/git
# name changed back from lxsession-lite to lxsession
Obsoletes: lxsession-lite <= 0.3.6-6
Provides: lxsession-lite = %{version}-%{release}
Obsoletes: lxsession-lite <= 0.3.6-6
Provides: lxsession-lite = %{version}-%{release}
# lxde-settings-daemon was merged into lxsession
Obsoletes: lxde-settings-daemon <= 0.4.1-2
Provides: lxde-settings-daemon = 0.4.1-3
Obsoletes: lxde-settings-daemon <= 0.4.1-2
Provides: lxde-settings-daemon = 0.4.1-3
# required for suspend and hibernate
Requires: upower
Requires: upower
%description
LXSession is a standard-compliant X11 session manager with shutdown/
@ -123,7 +118,7 @@ Abhängigkeiten.
%package edit
Summary: Simple GUI to configure whats automatically started in LXDE
Summary: Simple GUI to configure whats automatically started in LXDE
%description edit
LXSession-edit is a tool to manage freedesktop.org compliant desktop session
@ -131,10 +126,10 @@ autostarts. Currently adding and removing applications from the startup list
is not yet available, but it will be support in the next release.
%package -n lxpolkit
Summary: Simple PolicyKit authentication agent
Requires: polkit >= 0.95
Summary: Simple PolicyKit authentication agent
Requires: polkit >= 0.95
# required to replace polkit-gnome and polkit-kde
Provides: PolicyKit-authentication-agent
Provides: PolicyKit-authentication-agent
%description -n lxpolkit
@ -142,19 +137,18 @@ LXPolKit is a simple PolicyKit authentication agent developed for LXDE, the
Lightweight X11 Desktop Environment.
%prep
%if 0%{?use_release} || 0%{?use_git}
%setup -q %{?git_version:-n %{name}-%{version}-%{?git_version}}
%if 0%{?use_release}
%setup -q -n %{name}-%{main_version}%{git_builddir}
git init
%endif
%if 0%{?use_gitbare}
%setup -q -c -T -a 0
%setup -q -c -T -n %{name}-%{main_version}%{git_builddir} -a 0
git clone ./%{name}.git/
cd %{name}
#git checkout -b %{version}-fedora %{version}
git checkout -b %{version}-fedora %{git_rev}
git checkout -b %{main_version}-fedora %{git_rev}
cp -a [A-Z]* ..
cp -a data/ ..
@ -167,23 +161,32 @@ do
git cherry-pick $commit
done
# Restore timestamps
set +x
echo "Restore timestamps"
git ls-tree -r --name-only HEAD | while read f
do
unixtime=$(git log -n 1 --pretty='%ct' -- $f)
touch -d "@${unixtime}" $f
done
set -x
%endif
git config user.name "lxpanel Fedora maintainer"
git config user.email "lxpanel-owner@fedoraproject.org"
git config user.email "lxpanel-maintainers@fedoraproject.org"
%if 0%{?use_release} || 0%{?use_git}
%if 0%{?use_release}
git add .
git commit -m "base" -q
%endif
#%patch0 -p1 -b .dsofix
%__cat %PATCH1 | git am
%__cat %PATCH2 | git am
%patch1000 -p1 -b .reload
%patch1002 -p1 -b .notify
%patch1005 -p1 -b .nullcheck
%patch2001 -p1 -b .custom
%patch -P1000 -p1 -b .reload
%patch -P1002 -p1 -b .notify
%patch -P1005 -p1 -b .nullcheck
%patch -P2001 -p1 -b .custom
%patch -P2002 -p1 -b .indicator
%patch -P2003 -p1 -b .ally
%if 0%{?use_gitbare}
git commit -m "Apply Fedora specific configulation" -a
%endif
@ -260,28 +263,39 @@ cd ..
%files -f %{name}.lang
%doc AUTHORS ChangeLog COPYING README data/desktop.conf.example
%doc AUTHORS
%doc ChangeLog
%license COPYING
%doc README
%doc data/desktop.conf.example
%{_bindir}/%{name}
%{_bindir}/%{name}-logout
%{_bindir}/%{name}-db
%{_bindir}/%{name}-default
%{_bindir}/%{name}-default-apps
%{_bindir}/%{name}-default-terminal
%dir %{_libexecdir}/%{name}
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name}-xsettings
%{_bindir}/lxsettings-daemon
%{_bindir}/%{name}-xdg-autostart
%{_bindir}/lxlock
%{_bindir}/lxclipboard
%{_datadir}/%{name}/
%exclude %{_datadir}/%{name}/ui/lxpolkit.ui
%exclude %{_datadir}/%{name}/ui/lxsession-edit.ui
%{_mandir}/man*/%{name}*.*
# we need to own
%dir %{_sysconfdir}/xdg/%{name}
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/images/
%dir %{_datadir}/%{name}/ui/
%{_datadir}/%{name}/ui/lxsession-default-apps.ui
%{_datadir}/applications/lxsession-default-apps.desktop
# we need to own
%dir %{_sysconfdir}/xdg/%{name}
%{_mandir}/man*/%{name}*.*
%{_mandir}/man1/lxlock.1*
%{_mandir}/man1/lxpolkit.1*
%{_mandir}/man1/lxclipboard.1*
@ -294,10 +308,73 @@ cd ..
%files -n lxpolkit
%{_bindir}/lxpolkit
%config %{_sysconfdir}/xdg/autostart/lxpolkit.desktop
%{_sysconfdir}/xdg/autostart/lxpolkit.desktop
%{_datadir}/%{name}/ui/lxpolkit.ui
%changelog
* Fri Aug 15 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.6-3
- Add workaround for setting a11y bus explicitly
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Apr 03 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.6-1
- 0.5.6
* Thu Feb 13 2025 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20241019gitc72db4f8-1
- Update to the latest git
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5^20240821git95e902d7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Aug 25 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20240821git95e902d7-1
- Update to the latest git
* Tue Aug 13 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20240812git626a654b-1
- Update to the latest git
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5^20230917gite0fffa66-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Feb 25 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20230917gite0fffa66-4
- Apply upstream PR for gcc14 -Werror=incompatible-pointer-types
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5^20230917gite0fffa66-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20230917gite0fffa66-2
- Change -Wincompatible-pointer-types from error to warning
* Sun Dec 31 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20230917gite0fffa66-1
- Update to the latest git
* Tue Aug 15 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5^20230810git27c1eaf6-1
- Update to the latest git
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-11.D20210419git82580e45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 12 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5-10.D20210419git82580e45
- Always create parent directory for lxsession autostart file (bug 2213030)
* Fri Jan 20 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5-9.D20210419git82580e45
- F-37+: kill appindicator support for now due to 12.10.1 GTK2 support removal
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-8.D20210419git82580e45.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Sep 13 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5-8.D20210419git82580e45
- Update to the latest git (20210419)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-7.D20210130git8543c00a.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-7.D20210130git8543c00a.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-7.D20210130git8543c00a.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Mar 20 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.5.5-7.D20210130git8543c00a
- Avoid lxsession-default-apps segfault (with recent glib2)

View file

@ -1 +1 @@
SHA512 (lxsession-20210202T1502.tar.gz) = fcadc6ebe3d632e21b36b19e131856af28b9949fcbca656cd0fe1ca3248b62e225b75e604720899dd457041599f50daac5bce9647e243583b2ee9a8542243184
SHA512 (lxsession-20250403T1600.tar.gz) = b3282ea072d3cf2552c9581cca8251f9f7b2f7c7e062b4a9ee4d9725ab2218f35dd437beab53d56417b94a036d428cfe196b58a0e9af73d33f295bbefd938a5e