[arch-commits] Commit in xfce4-xkb-plugin/trunk (PKGBUILD xfce4-xkb-plugin.install)

Evangelos Foutras foutrelis at archlinux.org
Thu Jul 20 15:38:49 UTC 2017


    Date: Thursday, July 20, 2017 @ 15:38:49
  Author: foutrelis
Revision: 300870

upgpkg: xfce4-xkb-plugin 0.8.0-1

New upstream release.

Modified:
  xfce4-xkb-plugin/trunk/PKGBUILD
  xfce4-xkb-plugin/trunk/xfce4-xkb-plugin.install

--------------------------+
 PKGBUILD                 |   10 ++++------
 xfce4-xkb-plugin.install |    9 +++++++++
 2 files changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-20 15:25:09 UTC (rev 300869)
+++ PKGBUILD	2017-07-20 15:38:49 UTC (rev 300870)
@@ -4,18 +4,18 @@
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=xfce4-xkb-plugin
-pkgver=0.7.1
-pkgrel=2
+pkgver=0.8.0
+pkgrel=1
 pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel"
 arch=('i686' 'x86_64')
 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
 license=('custom')
 groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libxklavier' 'librsvg')
+depends=('xfce4-panel' 'libxklavier' 'librsvg' 'libwnck3')
 makedepends=('intltool')
 install=$pkgname.install
 source=(http://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('61fe2e33fe99939d5d06a682e94e40e05ef844c930ad612154090d158b2ce681')
+sha256sums=('3b0d3b9f4b7c3e3e7be668e2f7c845b89b16e0ed3db2bacb544a17272682ced0')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -32,9 +32,7 @@
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-
   make DESTDIR="$pkgdir" install
-
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 

Modified: xfce4-xkb-plugin.install
===================================================================
--- xfce4-xkb-plugin.install	2017-07-20 15:25:09 UTC (rev 300869)
+++ xfce4-xkb-plugin.install	2017-07-20 15:38:49 UTC (rev 300870)
@@ -6,6 +6,15 @@
     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