7
2
[alpine-aports] [PATCH 1/2] testing/ibus: new aport
---
.../0001-Use-more-portable-call-to-mktemp.patch | 28 +++++++++++
testing/ibus/APKBUILD | 54 ++++++++++++++++++++++
testing/ibus/ibus.post-install | 3 ++
3 files changed, 85 insertions(+)
create mode 100644 testing/ibus/0001-Use-more-portable-call-to-mktemp.patch
create mode 100644 testing/ibus/APKBUILD
create mode 100755 testing/ibus/ibus.post-install
diff --git a/testing/ibus/0001-Use-more-portable-call-to-mktemp.patch b/testing/ibus/0001-Use-more-portable-call-to-mktemp.patch
new file mode 100644
index 0000000000..2e15dae89d
--- /dev/null
+++ b/testing/ibus/0001-Use-more-portable-call-to-mktemp.patch
@@ -0,0 +1,28 @@
+ From 2083455a9e1de2980d229b5f98788b563498e2dc Mon Sep 17 00:00:00 2001
+ From: Drew DeVault <sir@cmpwn.com>
+ Date: Mon, 15 Jan 2018 13:49:09 -0500
+ Subject: [PATCH] Use more portable call to mktemp
+
+ --tmpdir is not supported by BusyBox.
+
+ Signed-off-by: Drew DeVault <sir@cmpwn.com>
+ ---
+ data/dconf/make-dconf-override-db.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+ diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh
+ index 9c650e97..38838d09 100755
+ --- a/data/dconf/make-dconf-override-db.sh
+ +++ b/data/dconf/make-dconf-override-db.sh
+ @@ -6,7 +6,7 @@ set -e
+ # breaks dbus-launch. There's dbus-run-session which is
+ # better, but not everyone has it yet.
+ export DBUS_FATAL_WARNINGS=0
+ -export TMPDIR=$(mktemp -d --tmpdir="$PWD")
+ +export TMPDIR=$(TMPDIR="$PWD" mktemp -d)
+ export XDG_CONFIG_HOME="$TMPDIR/config"
+ export XDG_CACHE_HOME="$TMPDIR/cache"
+ export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
+ --
+ 2.15.0
+
diff --git a/testing/ibus/APKBUILD b/testing/ibus/APKBUILD
new file mode 100644
index 0000000000..dbb6e39a41
--- /dev/null
+++ b/testing/ibus/APKBUILD
@@ -0,0 +1,54 @@
+ # Maintainer: Drew DeVault <sir@cmpwn.com>
+ pkgname=ibus
+ pkgver=1.5.17
+ pkgrel=0
+ pkgdesc="Next Generation Input Bus for Linux"
+ url="https://github.com/ibus/ibus/wiki"
+ arch="all"
+ license="LGPL"
+ depends="
+ dconf hicolor-icon-theme iso-codes dbus py-gobject3
+ "
+ makedepends="
+ dconf-dev gtk+-dev gtk+3.0-dev libnotify-dev iso-codes-dev librsvg-dev
+ gobject-introspection-dev vala intltool qt5-qtbase
+ automake autoconf gnome-common gtk-doc wayland-dev wayland-protocols gconf
+ dbus-x11
+ "
+ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+ source="
+ $pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz
+ 0001-Use-more-portable-call-to-mktemp.patch
+ "
+ install="$pkgname.post-install"
+ builddir="$srcdir/$pkgname-$pkgver"
+
+ build() {
+ cd "$builddir"
+ ./autogen.sh \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/ibus \
+ --sysconfdir=/etc \
+ --disable-gconf \
+ --enable-dconf \
+ --enable-wayland \
+ --disable-memconf \
+ --enable-ui \
+ --disable-gtk-doc \
+ --disable-emoji-dict
+ make
+ }
+
+ check() {
+ cd "$builddir"
+ ./bus/ibus-daemon --version
+ }
+
+ package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" uninstall-pkgconfigDATA
+ }
+
+ sha512sums="8369b5fe425fa0d3f1f5cbda37e2f054bb40a1b0e16a1fa07d4445774efaeaa1d5344973b070d7d940978bd3873484946d42f4c88a6d702f46fb052d14c000d6 ibus-1.5.17.tar.gz
+ 1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06 0001-Use-more-portable-call-to-mktemp.patch"
diff --git a/testing/ibus/ibus.post-install b/testing/ibus/ibus.post-install
new file mode 100755
index 0000000000..8d323626f0
--- /dev/null
+++ b/testing/ibus/ibus.post-install
@@ -0,0 +1,3 @@
+ #!/bin/sh
+ which gtk-query-immodules-2.0 && gtk-query-immodules-2.0 --update-cache
+ which gtk-query-immodules-3.0 && gtk-query-immodules-3.0 --update-cache
--
2.15.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
[alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
---
testing/ibus-anthy/APKBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 testing/ibus-anthy/APKBUILD
diff --git a/testing/ibus-anthy/APKBUILD b/testing/ibus-anthy/APKBUILD
new file mode 100644
index 0000000000..bf3bc9d6bb
--- /dev/null
+++ b/testing/ibus-anthy/APKBUILD
@@ -0,0 +1,31 @@
+ # Maintainer: Drew DeVault <sir@cmpwn.com>
+ pkgname=ibus-anthy
+ pkgver=1.5.9
+ pkgrel=0
+ pkgdesc="Japanese input method Anthy IMEngine for IBus Framework"
+ url="http://ibus.googlecode.com/"
+ arch="all"
+ license="LGPL"
+ depends="ibus anthy py-gobject3 gtk-update-icon-cache"
+ makedepends="
+ m4 automake autoconf intltool gobject-introspection
+ gobject-introspection-dev
+ "
+ source="$pkgname-$pkgver.tar.gz::https://github.com/ibus/$pkgname/archive/$pkgver.tar.gz"
+ builddir="$srcdir/$pkgname-$pkgver"
+ subpackages="$pkgname-lang"
+
+ build() {
+ cd "$builddir"
+ ./autogen.sh \
+ --prefix=/usr \
+ --libexec=/usr/lib/ibus
+ make
+ }
+
+ package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ }
+
+ sha512sums="4162945a97e89c1f90cafbf60f88226347e7b0ef55798a647cc7b9ca5b2058fd80166b1a7e4b2ca6da09dc3d6d5ba1b73992210a3fdbcaf5daa8d84b7ed3629e ibus-anthy-1.5.9.tar.gz"
--
2.15.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
On 2018-10-11 4:37 PM, Leonardo Arena wrote:
> this one fails to build with:
>
> configure: error: Package requirements (
> anthy
> ) were not met:
>
> Package 'anthy', required by 'virtual:world', not found
I sent another patch along which cleans some things up, but it's
probably still going to fail due to this error because the anthy package
hasn't made its way into the repositories yet. I tested it successfully
by building and installing the ibus and anthy dependencies locally.
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
Hi,
On Mon, Jan 15, 2018 at 8:29 PM Drew DeVault <sir@cmpwn.com > wrote:
> ---
> testing/ibus-anthy/APKBUILD | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 testing/ibus-anthy/APKBUILD
>
this one fails to build with:
configure: error: Package requirements (
anthy
) were not met:
Package 'anthy', required by 'virtual:world', not found
Thanks!
/eo
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
Re: [alpine-aports] [PATCH 2/2] testing/ibus-anthy: new aport
On Thu, Oct 11, 2018 at 4:46 PM Drew DeVault <sir@cmpwn.com > wrote:
> On 2018-10-11 4:45 PM, Leonardo Arena wrote:
> > That on got already merged :)
>
> Oh, then I'll take a closer look.
>
Could you please also fix the license ID according to
https://spdx.org/licenses/?
I took care of it for the two merged patches.
Thanks!
/eo