From: funk443 <funk443@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ibus-chewing, ibus-array: add runtime dep.
Date: Thu, 24 Nov 2022 12:12:39 +0100 [thread overview]
Message-ID: <20221124111239.4Qh7OKGu18CIaro0QJtFMtk4KVsfUA8gle-W4cHpfw8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40710@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
There is an updated pull request by funk443 against master on the void-packages repository
https://github.com/funk443/void-packages master
https://github.com/void-linux/void-packages/pull/40710
New package: ibus-chewing, ibus-array: add runtime dep.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/40710.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-40710.patch --]
[-- Type: text/x-diff, Size: 3098 bytes --]
From a39a93103ae28c1d6460554e62742118d924ec20 Mon Sep 17 00:00:00 2001
From: ctoid <funk443@yandex.com>
Date: Wed, 23 Nov 2022 23:23:43 +0800
Subject: [PATCH 1/2] New package: ibus-chewing-1.5.1
---
srcpkgs/ibus-chewing/template | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 srcpkgs/ibus-chewing/template
diff --git a/srcpkgs/ibus-chewing/template b/srcpkgs/ibus-chewing/template
new file mode 100644
index 000000000000..ee8f5d6717de
--- /dev/null
+++ b/srcpkgs/ibus-chewing/template
@@ -0,0 +1,30 @@
+# Template file for 'ibus-chewing'
+pkgname=ibus-chewing
+version=1.5.1
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="git cmake pkg-config"
+makedepends="gettext-devel libchewing-devel ibus-devel gob2 libX11-devel gtk+3-devel glib-devel findutils"
+depends="ibus libchewing"
+short_desc="Chewing input method for ibus"
+maintainer="ctoid <funk443@yandex.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/definite/ibus-chewing"
+
+do_fetch() {
+ git clone https://github.com/definite/ibus-chewing.git $wrksrc
+}
+
+pre_configure() {
+ rm -rf cmake-fedora
+ git clone https://pagure.io/cmake-fedora.git
+}
+
+do_configure() {
+ cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/libexec'
+}
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
From 631e913de961b58e8074dd33ad5c6b78b4d73f4a Mon Sep 17 00:00:00 2001
From: ctoid <funk443@yandex.com>
Date: Thu, 24 Nov 2022 19:13:09 +0800
Subject: [PATCH 2/2] ibus-chewing: update to 1.5.1.
---
srcpkgs/ibus-chewing/template | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/ibus-chewing/template b/srcpkgs/ibus-chewing/template
index ee8f5d6717de..361a71647a2a 100644
--- a/srcpkgs/ibus-chewing/template
+++ b/srcpkgs/ibus-chewing/template
@@ -3,28 +3,22 @@ pkgname=ibus-chewing
version=1.5.1
revision=1
archs="x86_64"
-build_style=gnu-makefile
-hostmakedepends="git cmake pkg-config"
-makedepends="gettext-devel libchewing-devel ibus-devel gob2 libX11-devel gtk+3-devel glib-devel findutils"
+build_style=cmake
+configure_args="-DLIBEXEC_DIR=/usr/libexec"
+make_cmd=make
+hostmakedepends="git cmake pkg-config findutils gettext-devel"
+makedepends="libchewing-devel ibus-devel gob2 libX11-devel gtk+-devel glib-devel"
depends="ibus libchewing"
short_desc="Chewing input method for ibus"
maintainer="ctoid <funk443@yandex.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/definite/ibus-chewing"
-
-do_fetch() {
- git clone https://github.com/definite/ibus-chewing.git $wrksrc
-}
+distfiles="https://github.com/definite/ibus-chewing/archive/refs/tags/${version}.tar.gz"
+checksum="4c0b58e9b13b826969d8df6276275bbd893a4a6d665cc218a65aa3eecde00d53"
+nocross=yes
pre_configure() {
rm -rf cmake-fedora
git clone https://pagure.io/cmake-fedora.git
-}
-
-do_configure() {
- cmake . -DCMAKE_INSTALL_PREFIX='/usr' -DLIBEXEC_DIR='/usr/libexec'
-}
-
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
+ export CMAKE_GENERATOR="Unix Makefiles"
}
next prev parent reply other threads:[~2022-11-24 11:12 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 15:31 [PR PATCH] " funk443
2022-11-23 17:26 ` [PR REVIEW] " oreo639
2022-11-23 17:26 ` oreo639
2022-11-23 17:26 ` oreo639
2022-11-23 17:26 ` oreo639
2022-11-23 17:26 ` oreo639
2022-11-23 17:27 ` oreo639
2022-11-23 17:28 ` oreo639
2022-11-23 17:32 ` oreo639
2022-11-23 17:33 ` oreo639
2022-11-23 17:34 ` oreo639
2022-11-24 0:10 ` classabbyamp
2022-11-24 3:24 ` sgn
2022-11-24 4:08 ` [PR PATCH] [Updated] " funk443
2022-11-24 4:14 ` funk443
2022-11-24 11:12 ` funk443 [this message]
2022-11-24 11:13 ` [PR REVIEW] " classabbyamp
2022-11-24 11:18 ` [PR PATCH] [Updated] " funk443
2022-11-24 11:18 ` funk443
2022-11-24 11:20 ` [PR PATCH] [Updated] New package: ibus-chewing funk443
2022-11-24 11:21 ` [PR REVIEW] " funk443
2022-11-24 12:00 ` [PR PATCH] [Updated] " funk443
2022-11-24 12:10 ` [PR REVIEW] " Duncaen
2022-11-24 12:34 ` funk443
2022-11-24 12:42 ` [PR PATCH] [Updated] " funk443
2022-11-24 20:02 ` [PR REVIEW] " oreo639
2022-11-24 20:09 ` oreo639
2022-11-25 5:08 ` funk443
2022-11-25 5:11 ` funk443
2022-11-25 5:12 ` funk443
2022-11-27 15:33 ` [PR PATCH] [Updated] " funk443
2022-11-27 16:02 ` [PR REVIEW] " paper42
2022-11-27 16:04 ` paper42
2022-11-27 16:30 ` funk443
2022-11-27 16:40 ` paper42
2022-11-27 16:51 ` funk443
2022-11-27 16:55 ` paper42
2022-11-27 16:56 ` classabbyamp
2022-11-27 16:57 ` funk443
2022-11-27 16:57 ` [PR PATCH] [Closed]: " funk443
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221124111239.4Qh7OKGu18CIaro0QJtFMtk4KVsfUA8gle-W4cHpfw8@z \
--to=funk443@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).