[arch-commits] Commit in onboard/repos (8 files)
Andreas Radke
andyrtr at archlinux.org
Tue Jun 14 17:10:48 UTC 2016
Date: Tuesday, June 14, 2016 @ 17:10:48
Author: andyrtr
Revision: 180092
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
onboard/repos/community-staging-i686/
onboard/repos/community-staging-i686/PKGBUILD
(from rev 180091, onboard/trunk/PKGBUILD)
onboard/repos/community-staging-i686/gcc6.diff
(from rev 180091, onboard/trunk/gcc6.diff)
onboard/repos/community-staging-i686/onboard.install
(from rev 180091, onboard/trunk/onboard.install)
onboard/repos/community-staging-x86_64/
onboard/repos/community-staging-x86_64/PKGBUILD
(from rev 180091, onboard/trunk/PKGBUILD)
onboard/repos/community-staging-x86_64/gcc6.diff
(from rev 180091, onboard/trunk/gcc6.diff)
onboard/repos/community-staging-x86_64/onboard.install
(from rev 180091, onboard/trunk/onboard.install)
------------------------------------------+
community-staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++
community-staging-i686/gcc6.diff | 11 ++++++++
community-staging-i686/onboard.install | 13 ++++++++++
community-staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++
community-staging-x86_64/gcc6.diff | 11 ++++++++
community-staging-x86_64/onboard.install | 13 ++++++++++
6 files changed, 122 insertions(+)
Copied: onboard/repos/community-staging-i686/PKGBUILD (from rev 180091, onboard/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=onboard
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/onboard"
+license=('GPL')
+depends=('libxkbfile' 'libcanberra' 'hunspell' 'python-cairo' 'python-dbus' 'python-gobject' 'gtk3' 'iso-codes' 'librsvg' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf')
+makedepends=('python-distutils-extra')
+optdepends=('mousetweaks: hover click with mouse')
+install=$pkgname.install
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ gcc6.diff)
+md5sums=('cc5f65d9148c5c0d60fdb537e8569dd0'
+ '71d68366385f9029ab320dcd3b76c65d')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Remove unused dependency (FS#48838)
+ sed -i '/AppIndicator3/d' Onboard/Version.py
+
+ # build fixes
+ patch -Np1 -i $srcdir/gcc6.diff
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python3 setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python3 setup.py install --root=$pkgdir --optimize=1
+}
Copied: onboard/repos/community-staging-i686/gcc6.diff (from rev 180091, onboard/trunk/gcc6.diff)
===================================================================
--- community-staging-i686/gcc6.diff (rev 0)
+++ community-staging-i686/gcc6.diff 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,11 @@
+--- onboard-1.2.0/Onboard/pypredict/lm/lm_dynamic_cached.h 2016-02-18 14:31:51.000000000 +0100
++++ /tmp/lm_dynamic_cached.h.new 2016-06-14 19:04:23.924349370 +0200
+@@ -224,7 +224,7 @@
+ public:
+ typedef _DynamicModelKN<TNGRAMS> Base;
+ static const Smoothing DEFAULT_SMOOTHING = ABS_DISC_I;
+- static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
++ static constexpr double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
+
+ public:
+ _CachedDynamicModel()
Copied: onboard/repos/community-staging-i686/onboard.install (from rev 180091, onboard/trunk/onboard.install)
===================================================================
--- community-staging-i686/onboard.install (rev 0)
+++ community-staging-i686/onboard.install 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: onboard/repos/community-staging-x86_64/PKGBUILD (from rev 180091, onboard/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=onboard
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/onboard"
+license=('GPL')
+depends=('libxkbfile' 'libcanberra' 'hunspell' 'python-cairo' 'python-dbus' 'python-gobject' 'gtk3' 'iso-codes' 'librsvg' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf')
+makedepends=('python-distutils-extra')
+optdepends=('mousetweaks: hover click with mouse')
+install=$pkgname.install
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ gcc6.diff)
+md5sums=('cc5f65d9148c5c0d60fdb537e8569dd0'
+ '71d68366385f9029ab320dcd3b76c65d')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Remove unused dependency (FS#48838)
+ sed -i '/AppIndicator3/d' Onboard/Version.py
+
+ # build fixes
+ patch -Np1 -i $srcdir/gcc6.diff
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python3 setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python3 setup.py install --root=$pkgdir --optimize=1
+}
Copied: onboard/repos/community-staging-x86_64/gcc6.diff (from rev 180091, onboard/trunk/gcc6.diff)
===================================================================
--- community-staging-x86_64/gcc6.diff (rev 0)
+++ community-staging-x86_64/gcc6.diff 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,11 @@
+--- onboard-1.2.0/Onboard/pypredict/lm/lm_dynamic_cached.h 2016-02-18 14:31:51.000000000 +0100
++++ /tmp/lm_dynamic_cached.h.new 2016-06-14 19:04:23.924349370 +0200
+@@ -224,7 +224,7 @@
+ public:
+ typedef _DynamicModelKN<TNGRAMS> Base;
+ static const Smoothing DEFAULT_SMOOTHING = ABS_DISC_I;
+- static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
++ static constexpr double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
+
+ public:
+ _CachedDynamicModel()
Copied: onboard/repos/community-staging-x86_64/onboard.install (from rev 180091, onboard/trunk/onboard.install)
===================================================================
--- community-staging-x86_64/onboard.install (rev 0)
+++ community-staging-x86_64/onboard.install 2016-06-14 17:10:48 UTC (rev 180092)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list