[arch-commits] Commit in lxsession/repos (12 files)

2017-01-21 Thread Balló György
Date: Sunday, January 22, 2017 @ 00:18:21
  Author: bgyorgy
Revision: 208355

archrelease: copy trunk to community-i686, community-x86_64

Added:
  
lxsession/repos/community-i686/0001-Use-GApplication-for-unique-app-handling.patch
(from rev 208354, 
lxsession/trunk/0001-Use-GApplication-for-unique-app-handling.patch)
  lxsession/repos/community-i686/PKGBUILD
(from rev 208354, lxsession/trunk/PKGBUILD)
  
lxsession/repos/community-x86_64/0001-Use-GApplication-for-unique-app-handling.patch
(from rev 208354, 
lxsession/trunk/0001-Use-GApplication-for-unique-app-handling.patch)
  lxsession/repos/community-x86_64/PKGBUILD
(from rev 208354, lxsession/trunk/PKGBUILD)
Deleted:
  
lxsession/repos/community-i686/0001-Better-handling-the-background-of-logout-dialog.patch
  lxsession/repos/community-i686/0001-Fix-unique-app-handling.patch
  lxsession/repos/community-i686/PKGBUILD
  lxsession/repos/community-i686/gtk3.patch
  
lxsession/repos/community-x86_64/0001-Better-handling-the-background-of-logout-dialog.patch
  lxsession/repos/community-x86_64/0001-Fix-unique-app-handling.patch
  lxsession/repos/community-x86_64/PKGBUILD
  lxsession/repos/community-x86_64/gtk3.patch

-+
 /PKGBUILD   |  
146 ++
 community-i686/0001-Better-handling-the-background-of-logout-dialog.patch   |  
 27 
 community-i686/0001-Fix-unique-app-handling.patch   |  
 84 -
 community-i686/0001-Use-GApplication-for-unique-app-handling.patch  |  
147 ++
 community-i686/PKGBUILD |  
 76 -
 community-i686/gtk3.patch   |  
517 --
 community-x86_64/0001-Better-handling-the-background-of-logout-dialog.patch |  
 27 
 community-x86_64/0001-Fix-unique-app-handling.patch |  
 84 -
 community-x86_64/0001-Use-GApplication-for-unique-app-handling.patch|  
147 ++
 community-x86_64/PKGBUILD   |  
 76 -
 community-x86_64/gtk3.patch |  
517 --
 11 files changed, 440 insertions(+), 1408 deletions(-)

Deleted: 
community-i686/0001-Better-handling-the-background-of-logout-dialog.patch
===
--- community-i686/0001-Better-handling-the-background-of-logout-dialog.patch   
2017-01-22 00:18:16 UTC (rev 208354)
+++ community-i686/0001-Better-handling-the-background-of-logout-dialog.patch   
2017-01-22 00:18:21 UTC (rev 208355)
@@ -1,27 +0,0 @@
-From 8a9001bdf8a367968922ca8193af56f5e22ec885 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
-Date: Wed, 17 Feb 2016 15:56:26 +0100
-Subject: [PATCH] Better handling the background of logout dialog
-

- lxsession-logout/lxsession-logout.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/lxsession-logout/lxsession-logout.c 
b/lxsession-logout/lxsession-logout.c
-index 8141b19..698b7d2 100644
 a/lxsession-logout/lxsession-logout.c
-+++ b/lxsession-logout/lxsession-logout.c
-@@ -629,9 +629,7 @@ int main(int argc, char * argv[])
- gtk_container_add(GTK_CONTAINER(alignment), center_area);
- 
- #ifdef USE_GTK3
--GtkStyle* style = gtk_widget_get_style (window);
--GdkColor color = style->bg[GTK_STATE_NORMAL];
--gtk_widget_modify_bg(center_area, GTK_STATE_NORMAL, );
-+gtk_style_context_add_class (gtk_widget_get_style_context (center_area), 
GTK_STYLE_CLASS_BACKGROUND);
- #endif
- 
- GtkWidget* center_vbox = gtk_vbox_new(FALSE, 6);
--- 
-2.7.1
-

Deleted: community-i686/0001-Fix-unique-app-handling.patch
===
--- community-i686/0001-Fix-unique-app-handling.patch   2017-01-22 00:18:16 UTC 
(rev 208354)
+++ community-i686/0001-Fix-unique-app-handling.patch   2017-01-22 00:18:21 UTC 
(rev 208355)
@@ -1,84 +0,0 @@
-From 33cd52312ef8a3abbb0709513f23b369941cb716 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
-Date: Wed, 17 Feb 2016 15:48:04 +0100
-Subject: [PATCH] Fix unique app handling
-
-- Define variables explicitely for vala compiler.
-- Use proper unique code for gtk3.

- Makefile.am   |  4 
- lxclipboard/main.vala | 11 +--
- lxpolkit/main.vala| 11 +--
- 3 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index c9546f5..6d32d95 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -83,7 +83,9 @@ lxclipboard_lxclipboard_LDADD = \
- $(NULL)
- 
- if USE_GTK3
-+lxclipboard_lxclipboard_VALAFLAGS += --define USE_GTK3
- else
-+lxclipboard_lxclipboard_VALAFLAGS += --define USE_GTK2
- lxclipboard_lxclipboard_VALAFLAGS += --pkg unique-1.0
- lxclipboard_lxclipboard_CPPFLAGS += 

[arch-commits] Commit in lxsession/repos (12 files)

2014-10-07 Thread Balló György
Date: Tuesday, October 7, 2014 @ 22:56:28
  Author: bgyorgy
Revision: 120374

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  lxsession/repos/community-testing-i686/
  lxsession/repos/community-testing-i686/PKGBUILD
(from rev 120373, lxsession/trunk/PKGBUILD)
  lxsession/repos/community-testing-i686/fix-lxpolkit.patch
(from rev 120373, lxsession/trunk/fix-lxpolkit.patch)
  lxsession/repos/community-testing-i686/fix-lxsession-db.patch
(from rev 120373, lxsession/trunk/fix-lxsession-db.patch)
  lxsession/repos/community-testing-i686/fix-lxsession-edit.patch
(from rev 120373, lxsession/trunk/fix-lxsession-edit.patch)
  lxsession/repos/community-testing-i686/fix-userswitch.patch
(from rev 120373, lxsession/trunk/fix-userswitch.patch)
  lxsession/repos/community-testing-x86_64/
  lxsession/repos/community-testing-x86_64/PKGBUILD
(from rev 120373, lxsession/trunk/PKGBUILD)
  lxsession/repos/community-testing-x86_64/fix-lxpolkit.patch
(from rev 120373, lxsession/trunk/fix-lxpolkit.patch)
  lxsession/repos/community-testing-x86_64/fix-lxsession-db.patch
(from rev 120373, lxsession/trunk/fix-lxsession-db.patch)
  lxsession/repos/community-testing-x86_64/fix-lxsession-edit.patch
(from rev 120373, lxsession/trunk/fix-lxsession-edit.patch)
  lxsession/repos/community-testing-x86_64/fix-userswitch.patch
(from rev 120373, lxsession/trunk/fix-userswitch.patch)

---+
 community-testing-i686/PKGBUILD   |   59 
 community-testing-i686/fix-lxpolkit.patch |   18 ++
 community-testing-i686/fix-lxsession-db.patch |   42 ++
 community-testing-i686/fix-lxsession-edit.patch   |   24 
 community-testing-i686/fix-userswitch.patch   |   35 +++
 community-testing-x86_64/PKGBUILD |   59 
 community-testing-x86_64/fix-lxpolkit.patch   |   18 ++
 community-testing-x86_64/fix-lxsession-db.patch   |   42 ++
 community-testing-x86_64/fix-lxsession-edit.patch |   24 
 community-testing-x86_64/fix-userswitch.patch |   35 +++
 10 files changed, 356 insertions(+)

Copied: lxsession/repos/community-testing-i686/PKGBUILD (from rev 120373, 
lxsession/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-10-07 20:56:28 UTC (rev 120374)
@@ -0,0 +1,59 @@
+# $Id$
+# Contributor: Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Angel Velasquez an...@archlinux.org
+# Contributor: Juergen Hoetzel juer...@archlinux.org
+
+pkgname=lxsession
+pkgver=0.5.0
+pkgrel=1
+epoch=1
+pkgdesc='Lightweight X11 session manager'
+arch=('i686' 'x86_64')
+url=http://lxde.org/;
+license=('GPL2')
+groups=('lxde')
+depends=('gtk2' 'dbus-glib' 'polkit')
+makedepends=('intltool' 'docbook-xsl' 'vala')
+replaces=('lxpolkit' 'lxsession-lite' 'lxde-settings-daemon')
+conflicts=('lxpolkit' 'lxsession-lite' 'lxde-settings-daemon')
+source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz
+fix-lxsession-db.patch
+fix-lxsession-edit.patch
+fix-userswitch.patch
+fix-lxpolkit.patch)
+md5sums=('6ef8b1487e60376e2381b2dec9c94734'
+ '289040c2789f429e73af946295e4d3f5'
+ '3dd128815be533b406353af0fec6081c'
+ 'f2d40d5c9ff1ea740463a2cecc6bd9a0'
+ '71adf77e5b9ba82a29ba448a4f5aa1d6')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # lxsession-db: Don't hang when MIME folders are not available.
+  # https://sourceforge.net/p/lxde/patches/479/
+  patch -Np1 -i ../fix-lxsession-db.patch
+
+  # lxsession-edit: Fix segfault on exit when kf is not set.
+  # https://sourceforge.net/p/lxde/patches/480/
+  patch -Np1 -i ../fix-lxsession-edit.patch
+
+  # lxsession-logout: Fix user switch with LightDM when GDM is installed.
+  # https://sourceforge.net/p/lxde/patches/481/
+  patch -Np1 -i ../fix-userswitch.patch
+
+  # Set lxpolkit by default, so lxsession will autostart it on login.
+  # https://sourceforge.net/p/lxde/patches/478/
+  patch -Np1 -i ../fix-lxpolkit.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --sysconfdir=/etc --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install 
+}

Copied: lxsession/repos/community-testing-i686/fix-lxpolkit.patch (from rev 
120373, lxsession/trunk/fix-lxpolkit.patch)
===
--- community-testing-i686/fix-lxpolkit.patch   (rev 0)
+++ community-testing-i686/fix-lxpolkit.patch   2014-10-07 20:56:28 UTC (rev 
120374)
@@ -0,0 +1,18 @@
+commit a9f032312f8c1254b00840dd084e241c964897ea
+Author: Balló György ballog...@gmail.com
+Date:   Tue Oct 7 21:19:52 2014 +0200
+
+Set lxpolkit by default, so lxsession will autostart it