[arch-commits] Commit in lxde-common/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:32:23 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:32:22
  Author: felixonmars
Revision: 658938

archrelease: copy trunk to community-staging-any

Added:
  lxde-common/repos/community-staging-any/
  lxde-common/repos/community-staging-any/PKGBUILD
    (from rev 658937, lxde-common/trunk/PKGBUILD)
  lxde-common/repos/community-staging-any/dbus-update-environment.patch
    (from rev 658937, lxde-common/trunk/dbus-update-environment.patch)
  lxde-common/repos/community-staging-any/default-config.patch
    (from rev 658937, lxde-common/trunk/default-config.patch)

-------------------------------+
 PKGBUILD                      |   41 ++++++++++++++++++++++++++++++++++++++++
 dbus-update-environment.patch |   22 +++++++++++++++++++++
 default-config.patch          |   12 +++++++++++
 3 files changed, 75 insertions(+)

Copied: lxde-common/repos/community-staging-any/PKGBUILD (from rev 658937, lxde-common/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 15:32:22 UTC (rev 658938)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=lxde-common
+pkgver=0.99.2
+pkgrel=3
+pkgdesc='Common files of the LXDE Desktop'
+arch=('any')
+url='https://lxde.org/'
+license=('GPL2')
+groups=('lxde' 'lxde-gtk3')
+backup=(etc/xdg/lxsession/LXDE/desktop.conf
+        etc/xdg/lxsession/LXDE/autostart)
+makedepends=('intltool')
+optdepends=('gnome-themes-standard: default GTK+ theme'
+            'lxde-icon-theme: default icon theme')
+source=(https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz
+        dbus-update-environment.patch
+        default-config.patch)
+sha256sums=('1cd9bc900960c995d48ffbbdc86ecffda7c806168c67aaa50c53113794234856'
+            '87f1413f5bb371de45451fc7f82f9f80a23c90f5799bed173ec31589824c03bb'
+            '6a31a706d0fd1cb168b495806bb4a646c019e3b9c4f6bc13aae9edb8b0372d9d')
+
+prepare() {
+    cd $pkgname-$pkgver
+    patch -Np1 -i ../dbus-update-environment.patch
+    patch -Np1 -i ../default-config.patch
+}
+
+build() {
+    cd $pkgname-$pkgver
+    ./configure --sysconfdir=/etc --prefix=/usr
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
+}

Copied: lxde-common/repos/community-staging-any/dbus-update-environment.patch (from rev 658937, lxde-common/trunk/dbus-update-environment.patch)
===================================================================
--- community-staging-any/dbus-update-environment.patch	                        (rev 0)
+++ community-staging-any/dbus-update-environment.patch	2020-07-07 15:32:22 UTC (rev 658938)
@@ -0,0 +1,22 @@
+diff -u -r lxde-common-0.99.0/startlxde.in lxde-common-0.99.0-dbus/startlxde.in
+--- lxde-common-0.99.0/startlxde.in	2014-10-23 16:08:00.000000000 +0200
++++ lxde-common-0.99.0-dbus/startlxde.in	2015-09-25 19:00:01.152474183 +0200
+@@ -34,10 +34,14 @@
+ export SAL_USE_VCLPLUGIN=gtk
+ 
+ # Launch DBus if needed
+-if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+-	if test -z "$XDG_RUNTIME_DIR" -o ! -S "$XDG_RUNTIME_DIR/bus" -o ! -O "$XDG_RUNTIME_DIR/bus"; then
+-		eval "$(dbus-launch --sh-syntax --exit-with-session)"
+-	fi
++if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
++	if which dbus-launch >/dev/null; then
++		eval "$(dbus-launch --sh-syntax --exit-with-session)"
++	fi
++else
++	if which dbus-update-activation-environment >/dev/null; then
++		dbus-update-activation-environment --systemd --all
++	fi
+ fi
+ 
+ export XDG_MENU_PREFIX="lxde-"

Copied: lxde-common/repos/community-staging-any/default-config.patch (from rev 658937, lxde-common/trunk/default-config.patch)
===================================================================
--- community-staging-any/default-config.patch	                        (rev 0)
+++ community-staging-any/default-config.patch	2020-07-07 15:32:22 UTC (rev 658938)
@@ -0,0 +1,12 @@
+diff -Naur lxde-common-0.99.1.orig/desktop.conf lxde-common-0.99.1/desktop.conf
+--- lxde-common-0.99.1.orig/desktop.conf	2016-02-26 14:51:28.558478250 +0000
++++ lxde-common-0.99.1/desktop.conf	2016-02-26 14:52:20.038264394 +0000
+@@ -2,7 +2,7 @@
+ window_manager=openbox-lxde
+ 
+ [GTK]
+-sNet/ThemeName=Clearlooks
++sNet/ThemeName=Adwaita
+ sNet/IconThemeName=nuoveXT2
+ sGtk/FontName=Sans 10
+ iGtk/ToolbarStyle=3


More information about the arch-commits mailing list