From c3f3d246a37428e06520d31de70c45b6048f26dd41e1ba8073d88c1860093b75 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Sun, 23 Mar 2014 11:28:42 +0000 Subject: [PATCH 1/6] Accepting request 226965 from home:jcsl:LXDE - Built against GKT2 to override GTK3 issues * fixes theming issues * avoid mixing LXDE packages built with GTK2 and GTK3 - Removed build compatibility with discontinued versions (<= 12.2) * Removed unneeded lxsession-0.4.9.3-FileAttribute.Standard_Name.patch patch OBS-URL: https://build.opensuse.org/request/show/226965 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=57 --- ...-0.4.9.3-FileAttribute.Standard_Name.patch | 34 ------------------- lxsession.changes | 10 ++++++ lxsession.spec | 12 ------- 3 files changed, 10 insertions(+), 46 deletions(-) delete mode 100644 lxsession-0.4.9.3-FileAttribute.Standard_Name.patch diff --git a/lxsession-0.4.9.3-FileAttribute.Standard_Name.patch b/lxsession-0.4.9.3-FileAttribute.Standard_Name.patch deleted file mode 100644 index e34967d..0000000 --- a/lxsession-0.4.9.3-FileAttribute.Standard_Name.patch +++ /dev/null @@ -1,34 +0,0 @@ -Index: lxsession-0.4.9.3.git20130914/lxsession-db/desktop-files-backend.vala -=================================================================== ---- lxsession-0.4.9.3.git20130914.orig/lxsession-db/desktop-files-backend.vala -+++ lxsession-0.4.9.3.git20130914/lxsession-db/desktop-files-backend.vala -@@ -182,7 +182,7 @@ namespace Lxsession - { - KeyFile kf = new KeyFile(); - /* asynchronous call, to get directory entries */ -- var e = yield dir.enumerate_children_async (FileAttribute.STANDARD_NAME, -+ var e = yield dir.enumerate_children_async (FILE_ATTRIBUTE_STANDARD_NAME, - 0, Priority.DEFAULT); - while (true) - { -@@ -220,16 +220,16 @@ namespace Lxsession - { - /* No entry, just pass */; - } -- catch (FileError err) -+ catch (FileError err1) - { -- warning (err.message); -+ warning (err1.message); - } - } - } - } -- catch (Error err) -+ catch (Error err2) - { -- stderr.printf ("Error: list_files failed: %s\n", err.message); -+ stderr.printf ("Error: list_files failed: %s\n", err2.message); - } - message ("Finishing scanning\n"); - diff --git a/lxsession.changes b/lxsession.changes index 1e7dc10..5324a07 100644 --- a/lxsession.changes +++ b/lxsession.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Mar 20 19:55:45 UTC 2014 - trcs@gmx.com + +- Built against GKT2 to override GTK3 issues + * fixes theming issues + * avoid mixing LXDE packages built with GTK2 and GTK3 +- Removed build compatibility with discontinued versions (<= 12.2) + * Removed unneeded lxsession-0.4.9.3-FileAttribute.Standard_Name.patch + patch + ------------------------------------------------------------------- Sat Sep 14 03:52:04 UTC 2013 - i@marguerite.su diff --git a/lxsession.spec b/lxsession.spec index 41dd71c..0952dde 100644 --- a/lxsession.spec +++ b/lxsession.spec @@ -30,17 +30,11 @@ Patch0: lxsession-0.4.9.3-gtk3-fix.patch Patch1: lxsession-0.4.9.3-lower-libgee.patch # PATCH-FIX-UPSTREAM marguerite@opensuse.org - hide_all() is no more in gtk3, replace with hide() Patch2: lxsession-0.4.9.3-gtk3-hide_all.patch -# PATCH-FIX-UPSTREAM marguerite@opensuse.org - FileAttribute.Standard_Name doesn't exist in 0.14 vala -Patch3: lxsession-0.4.9.3-FileAttribute.Standard_Name.patch BuildRequires: dbus-1-glib-devel BuildRequires: docbook-utils BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes -%if 0%{?suse_version} <= 1220 BuildRequires: gtk2-devel -%else -BuildRequires: gtk3-devel -%endif BuildRequires: intltool BuildRequires: libgee-devel BuildRequires: libtool @@ -65,16 +59,10 @@ use when a user logs out and to restart them the next time the user logs in. %if 0%{?suse_version} > 1220 %patch2 -p1 %endif -%if 0%{?suse_version} <= 1210 -%patch3 -p1 -%endif %build autoreconf -fi %configure \ -%if 0%{?suse_version} > 1220 - --enable-gtk3 \ -%endif --enable-man make %{?_smp_mflags} V=1 From e5a71519bf5b1949ab521c1a4c4c4c5d737f8d08afbc2ceddfe1bd1fe1ccf38e Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 25 Mar 2014 09:29:49 +0000 Subject: [PATCH 2/6] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=58 --- lxsession.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/lxsession.spec b/lxsession.spec index 0952dde..dafedee 100644 --- a/lxsession.spec +++ b/lxsession.spec @@ -42,6 +42,7 @@ BuildRequires: libxslt BuildRequires: pkg-config BuildRequires: polkit-devel BuildRequires: vala >= 0.14 +Obsoletes: lxsession-edit BuildRoot: %{_tmppath}/%{name}-%{version}-build %description From 8163ed6bff364dae24f06350f30c819741fba24d0c17dc3599eb5a5c47f219c6 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 25 Mar 2014 11:00:24 +0000 Subject: [PATCH 3/6] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=59 --- lxsession.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lxsession.spec b/lxsession.spec index dafedee..71612d5 100644 --- a/lxsession.spec +++ b/lxsession.spec @@ -42,7 +42,8 @@ BuildRequires: libxslt BuildRequires: pkg-config BuildRequires: polkit-devel BuildRequires: vala >= 0.14 -Obsoletes: lxsession-edit +Obsoletes: lxsession-edit <= 0.2.0 +Provides: lxsession-edit > 0.2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description From 3f069cae77ac5551978fd3db42b3e7f93ad588ac1cb74b9cb8fa9ddf18fc0dc1 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 25 Mar 2014 11:01:22 +0000 Subject: [PATCH 4/6] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=60 --- lxsession.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lxsession.changes b/lxsession.changes index 5324a07..6b8d66e 100644 --- a/lxsession.changes +++ b/lxsession.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 25 11:00:00 UTC 2014 - andrea@opensuse.org + +- provide and obsolete lxsession-edit + ------------------------------------------------------------------- Thu Mar 20 19:55:45 UTC 2014 - trcs@gmx.com From c1d135f5031d56e6861fc68773e4d63900f8b7bed7f5f97b4205bc106027eb74 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 25 Mar 2014 12:24:35 +0000 Subject: [PATCH 5/6] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=61 --- lxsession.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxsession.changes b/lxsession.changes index 6b8d66e..700cea5 100644 --- a/lxsession.changes +++ b/lxsession.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Tue Mar 25 11:00:00 UTC 2014 - andrea@opensuse.org -- provide and obsolete lxsession-edit +- provide and obsolete lxsession-edit and lxpolkit ------------------------------------------------------------------- Thu Mar 20 19:55:45 UTC 2014 - trcs@gmx.com From 8f482721d29990dddc0520c06817642fd43ac17eae414d943e15c7159fb1d6ef Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 25 Mar 2014 12:25:25 +0000 Subject: [PATCH 6/6] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=62 --- lxsession.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lxsession.spec b/lxsession.spec index 71612d5..afbd344 100644 --- a/lxsession.spec +++ b/lxsession.spec @@ -43,7 +43,9 @@ BuildRequires: pkg-config BuildRequires: polkit-devel BuildRequires: vala >= 0.14 Obsoletes: lxsession-edit <= 0.2.0 +Obsoletes: lxpolkit <= 0.1.0 Provides: lxsession-edit > 0.2.0 +Provides: lxpolkit > 0.1.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description