From 779e00c3af3979a4fed791efd2cb522987b31333 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Tue, 18 Jul 2023 12:00:23 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 28 ++++++++++++++++++++++++++- ibus-libpinyin-1.10.x-head.patch | 0 tests/make_check.sh | 15 +++++++++++++++ tests/tests.yml | 33 ++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 ibus-libpinyin-1.10.x-head.patch create mode 100755 tests/make_check.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index f706bbc..4e1abd5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,28 @@ -SOURCES/ibus-libpinyin-1.10.0.tar.gz +/ibus-libpinyin-1.4.0.tar.gz +/ibus-libpinyin-1.4.1.tar.gz +/ibus-libpinyin-1.4.2.tar.gz +/ibus-libpinyin-1.4.91.tar.gz +/ibus-libpinyin-1.4.92.tar.gz +/ibus-libpinyin-1.4.93.tar.gz +/ibus-libpinyin-1.5.91.tar.gz +/ibus-libpinyin-1.5.92.tar.gz +/ibus-libpinyin-1.6.91.tar.gz +/ibus-libpinyin-1.6.92.tar.gz +/ibus-libpinyin-1.6.99.20150203.tar.gz +/ibus-libpinyin-1.7.0.tar.gz +/ibus-libpinyin-1.7.1.tar.gz +/ibus-libpinyin-1.7.2.tar.gz +/ibus-libpinyin-1.7.3.tar.gz +/ibus-libpinyin-1.7.4.tar.gz +/ibus-libpinyin-1.7.91.tar.gz +/ibus-libpinyin-1.7.92.tar.gz +/ibus-libpinyin-1.8.0.tar.gz +/ibus-libpinyin-1.8.1.tar.gz +/ibus-libpinyin-1.8.91.tar.gz +/ibus-libpinyin-1.8.92.tar.gz +/ibus-libpinyin-1.9.0.tar.gz +/ibus-libpinyin-1.9.1.tar.gz +/ibus-libpinyin-1.9.2.tar.gz +/ibus-libpinyin-1.9.3.tar.gz +/ibus-libpinyin-1.9.91.tar.gz /ibus-libpinyin-1.10.0.tar.gz diff --git a/ibus-libpinyin-1.10.x-head.patch b/ibus-libpinyin-1.10.x-head.patch new file mode 100644 index 0000000..e69de29 diff --git a/tests/make_check.sh b/tests/make_check.sh new file mode 100755 index 0000000..7e5a313 --- /dev/null +++ b/tests/make_check.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -x + +check_return_value () { + if [ $1 != 0 ] ; then + exit $1 + fi +} + +cd $1 +./configure --prefix=/usr +check_return_value $? +make check +exit $? diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..49eab3b --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,33 @@ + - hosts: localhost + tags: + - classic + roles: + - role: standard-test-source # to get the source tar ball to do “make check” + - role: standard-test-basic + required_packages: + - make + - libappstream-glib + - desktop-file-utils + - python3-gobject + - python3-gobject-base + - glib2 + - gtk3 + - dconf + - dbus-x11 + - ibus + - ibus-devel + - gcc-c++ + - gettext-devel + - gcc + - intltool + - libtool + - pkgconfig + - sqlite-devel + - libuuid-devel + - lua-devel + - python3-devel + - libpinyin-devel + tests: + - make-check: + dir: . + run: bash ./make_check.sh ./source