[arch-commits] Commit in xfce4-xkb-plugin/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Aug 11 23:57:15 UTC 2019


    Date: Sunday, August 11, 2019 @ 23:57:15
  Author: foutrelis
Revision: 359684

archrelease: copy trunk to staging-x86_64

Added:
  xfce4-xkb-plugin/repos/staging-x86_64/
  xfce4-xkb-plugin/repos/staging-x86_64/PKGBUILD
    (from rev 359683, xfce4-xkb-plugin/trunk/PKGBUILD)
  xfce4-xkb-plugin/repos/staging-x86_64/xfce4-xkb-plugin.install
    (from rev 359683, xfce4-xkb-plugin/trunk/xfce4-xkb-plugin.install)

--------------------------+
 PKGBUILD                 |   38 ++++++++++++++++++++++++++++++++++++++
 xfce4-xkb-plugin.install |   20 ++++++++++++++++++++
 2 files changed, 58 insertions(+)

Copied: xfce4-xkb-plugin/repos/staging-x86_64/PKGBUILD (from rev 359683, xfce4-xkb-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-08-11 23:57:15 UTC (rev 359684)
@@ -0,0 +1,38 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
+
+pkgname=xfce4-xkb-plugin
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel"
+arch=('x86_64')
+url="https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
+license=('custom')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libxklavier' 'librsvg' 'libwnck3')
+makedepends=('intltool')
+install=$pkgname.install
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('c19ecf126201deb6148741c521124771ad396adc874471512ab5ffe1946567a1')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-xkb-plugin/repos/staging-x86_64/xfce4-xkb-plugin.install (from rev 359683, xfce4-xkb-plugin/trunk/xfce4-xkb-plugin.install)
===================================================================
--- staging-x86_64/xfce4-xkb-plugin.install	                        (rev 0)
+++ staging-x86_64/xfce4-xkb-plugin.install	2019-08-11 23:57:15 UTC (rev 359684)
@@ -0,0 +1,20 @@
+post_upgrade() {
+  if (($(vercmp $2 0.7.1-2) < 0)); then
+    echo ':: Keyboard layouts are now configured through xfce4-keyboard-settings'
+    echo '   and managed by xfsettingsd. This plugin now only acts as a layout'
+    echo '   indicator and manages per window/application layout preferences.'
+    echo
+    echo '   You will need to reconfigure the keyboard layouts on your next login.'
+  fi
+
+  if (($(vercmp $2 0.8.0-1) < 0)); then
+    echo ':: Starting with version 0.8.0, xfce4-xkb-plugin stores its settings'
+    echo '   in Xfconf instead of a configuration file. Settings from previous'
+    echo '   versions are not migrated over, and the panel plugin itself might'
+    echo '   disappear upon restarting the panel.'
+    echo
+    echo '   You need to re-add the xkb plugin to your panel and reconfigure it.'
+  fi
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list