Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: kime-2.5.6
@ 2022-09-09 12:41 astralchan
  2022-09-09 12:44 ` [PR PATCH] [Updated] " astralchan
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 12:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

There is a new pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2902 bytes --]

From 59415d33e6128119f9443e5884d300b179c5e733 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 75 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..f0fb6573bd6d
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,75 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)
+	"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 xim wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		./scripts/install.sh "${PKGDESTDIR}"/usr KIME_INSTALL_HEADER=1
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
@ 2022-09-09 12:44 ` astralchan
  2022-09-09 12:45 ` astralchan
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 12:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2902 bytes --]

From 34d447ffa062f6a3492cd577c9d67abb8b8c03bd Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 75 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..7d707035f083
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,75 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)
+	"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 xim wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
  2022-09-09 12:44 ` [PR PATCH] [Updated] " astralchan
@ 2022-09-09 12:45 ` astralchan
  2022-09-09 12:46 ` astralchan
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 12:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2898 bytes --]

From d840d84d57b247bd75af4c6898c84fa37777290c Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 75 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..a260ff74b0a4
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,75 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)
+	"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
  2022-09-09 12:44 ` [PR PATCH] [Updated] " astralchan
  2022-09-09 12:45 ` astralchan
@ 2022-09-09 12:46 ` astralchan
  2022-09-09 13:03 ` astralchan
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 12:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2895 bytes --]

From ad16f46d1049ac4ee8dceac4aa4910a5aa65c4ef Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 74 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..05c009749a39
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,74 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (2 preceding siblings ...)
  2022-09-09 12:46 ` astralchan
@ 2022-09-09 13:03 ` astralchan
  2022-09-09 13:07 ` astralchan
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 13:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2971 bytes --]

From 40e33f5cbb696d2275b0432b3c1895772fa32d29 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 77 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..9ee49bfae07b
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,77 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (3 preceding siblings ...)
  2022-09-09 13:03 ` astralchan
@ 2022-09-09 13:07 ` astralchan
  2022-09-09 13:09 ` astralchan
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 3021 bytes --]

From b0041e7123dbbcdc17146c1aa79ae473796bad76 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 79 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..0dd2ecd19ea8
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,79 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)"
+	$(vopt_if xim xcb-util)
+	$(vopt_if xim cairo)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_CMAKE_ARGS="${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (4 preceding siblings ...)
  2022-09-09 13:07 ` astralchan
@ 2022-09-09 13:09 ` astralchan
  2022-09-09 13:16 ` astralchan
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 13:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 3003 bytes --]

From ae1a41edb812f19b584cf4f667a8bac4d9bb4ca6 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 79 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..1a3e0b2fffec
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,79 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)"
+	$(vopt_if xim xcb-util)
+	$(vopt_if xim cairo)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)\
+	${KIME_CMAKE_ARGS}"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (5 preceding siblings ...)
  2022-09-09 13:09 ` astralchan
@ 2022-09-09 13:16 ` astralchan
  2022-09-09 21:30 ` astralchan
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 13:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2984 bytes --]

From e98d10a0087733a4304584ff1a20ab01f874a6c2 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 78 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..8a327af3704b
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,78 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6 qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)
+	$(vopt_if xim xcb-util)
+	$(vopt_if xim cairo)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_MAKE_ARGS="${XBPS_MAKE_OPTS}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (6 preceding siblings ...)
  2022-09-09 13:16 ` astralchan
@ 2022-09-09 21:30 ` astralchan
  2022-09-09 21:37 ` astralchan
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 21:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2978 bytes --]

From 34049857fc689d0ba52d6fd4f53eb14d5d32e75c Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 78 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..c20a9db51d2e
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,78 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6 qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)
+	$(vopt_if xim xcb-util)
+	$(vopt_if xim cairo)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_MAKE_ARGS="${makejobs}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	echo "RUNNING INSTALL"
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (7 preceding siblings ...)
  2022-09-09 21:30 ` astralchan
@ 2022-09-09 21:37 ` astralchan
  2022-12-09  2:32 ` github-actions
  2022-12-24  1:52 ` [PR PATCH] [Closed]: " github-actions
  10 siblings, 0 replies; 12+ messages in thread
From: astralchan @ 2022-09-09 21:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

There is an updated pull request by astralchan against master on the void-packages repository

https://github.com/astralchan/void-packages kime
https://github.com/void-linux/void-packages/pull/39182

[WIP] New package: kime-2.5.6
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

A patch file from https://github.com/void-linux/void-packages/pull/39182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kime-39182.patch --]
[-- Type: text/x-diff, Size: 2953 bytes --]

From 6c58a8efcd2e421bf9ee9a3b6c5a21847a241963 Mon Sep 17 00:00:00 2001
From: astral <astral@astralchan.xyz>
Date: Fri, 9 Sep 2022 06:36:56 -0600
Subject: [PATCH] New package: kime-2.5.6

---
 srcpkgs/kime-devel    |  1 +
 srcpkgs/kime/template | 77 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 120000 srcpkgs/kime-devel
 create mode 100644 srcpkgs/kime/template

diff --git a/srcpkgs/kime-devel b/srcpkgs/kime-devel
new file mode 120000
index 000000000000..f8fe43e449f8
--- /dev/null
+++ b/srcpkgs/kime-devel
@@ -0,0 +1 @@
+kime
\ No newline at end of file
diff --git a/srcpkgs/kime/template b/srcpkgs/kime/template
new file mode 100644
index 000000000000..a82b7a131f05
--- /dev/null
+++ b/srcpkgs/kime/template
@@ -0,0 +1,77 @@
+# Template file for 'kime'
+pkgname=kime
+version=2.5.6
+revision=1
+hostmakedepends="cmake cargo clang pkg-config llvm"
+makedepends="
+	$(vopt_if gtk2 gtk+-devel)
+	$(vopt_if gtk3 gtk+3-devel)
+	$(vopt_if gtk4 gtk4-devel)
+	$(vopt_if qt5 qt5-devel)
+	$(vopt_if qt6 qt6-base-devel)
+	$(vopt_if xim xcb-util-devel)
+	$(vopt_if xim cairo-devel)"
+depends="
+	$(vopt_if gtk2 gtk+)
+	$(vopt_if gtk3 gtk+3)
+	$(vopt_if gtk4 gtk4)
+	$(vopt_if qt5 qt5)
+	$(vopt_if qt6 qt6-base)
+	$(vopt_if xim fontconfig)
+	$(vopt_if xim freetype)
+	$(vopt_if xim xcb-util)
+	$(vopt_if xim cairo)"
+short_desc="Korean IME"
+maintainer="astralchan <astral@astralchan.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Riey/kime"
+distfiles="https://github.com/Riey/kime/archive/refs/tags/v${version}.tar.gz"
+checksum=e96ef7427b8ad64434c12e4e7c2c968e62f8efb98682a5887c72ba235ac3df3e
+
+# Set build options
+build_options="gtk2 gtk3 gtk4 qt5 qt6 wayland xim indicator candidate \
+kime check"
+
+# Set default options
+build_options_default="gtk3 xim wayland indicator cadidate kime check"
+
+do_build() {
+	# TODO Fix opt builds
+	KIME_CMAKE_ARGS="\
+	-DENABLE_GTK2=$(vopt_if gtk2 ON OFF)\
+	-DENABLE_GTK3=$(vopt_if gtk3 ON OFF)\
+	-DENABLE_GTK4=$(vopt_if gtk4 ON OFF)\
+	-DENABLE_QT5=$(vopt_if qt ON OFF)\
+	-DENABLE_QT6=$(vopt_if qt6 ON OFF)"\
+	KIME_MAKE_ARGS="${makejobs}"\
+	KIME_BUILD_XIM="$(vopt_if xim 1 0)"\
+	KIME_BUILD_WAYLAND="$(vopt_if wayland 1 0)"\
+	KIME_BUILD_INDICATOR="$(vopt_if indicator 1 0)"\
+	KIME_BUILD_KIME="$(vopt_if kime 1 0)"\
+	KIME_BUILD_CANDIDATE_WINDOW="$(vopt_if candidate 1 0)"\
+	KIME_BUILD_CHECK="$(vopt_if check 1 0)"\
+	./scripts/build.sh
+}
+
+do_install() {
+	./scripts/install.sh "${DESTDIR}"/usr
+}
+
+post_install() {
+	if [ "${build_option_gtk2}" ]; then
+		gtk-query-immodules-2.0 --update-cache
+	fi
+	if [ "${build_option_gtk3}" ]; then
+		gtk-query-immodules-3.0 --update-cache
+	fi
+	if [ "${build_option_gtk4}" ]; then
+		gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules
+	fi
+}
+
+kime-devel_package() {
+	short_desc+=" - developement files"
+	do_install() {
+		KIME_INSTALL_HEADER=1 ./scripts/install.sh "${PKGDESTDIR}"/usr
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (8 preceding siblings ...)
  2022-09-09 21:37 ` astralchan
@ 2022-12-09  2:32 ` github-actions
  2022-12-24  1:52 ` [PR PATCH] [Closed]: " github-actions
  10 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2022-12-09  2:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/39182#issuecomment-1343762928

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Closed]: [WIP] New package: kime-2.5.6
  2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
                   ` (9 preceding siblings ...)
  2022-12-09  2:32 ` github-actions
@ 2022-12-24  1:52 ` github-actions
  10 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2022-12-24  1:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

There's a closed pull request on the void-packages repository

[WIP] New package: kime-2.5.6
https://github.com/void-linux/void-packages/pull/39182

Description:
Closes [37070](https://github.com/void-linux/void-packages/issues/37070)

[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Current error: `=> ERROR: kime-devel-2.5.6_1: PKGDESTDIR is empty and build_style != meta`
Full log: [kime.log](https://gist.github.com/astralchan/0e674b2aff5aea644a1a8cd42d91348c)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-12-24  1:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 12:41 [PR PATCH] [WIP] New package: kime-2.5.6 astralchan
2022-09-09 12:44 ` [PR PATCH] [Updated] " astralchan
2022-09-09 12:45 ` astralchan
2022-09-09 12:46 ` astralchan
2022-09-09 13:03 ` astralchan
2022-09-09 13:07 ` astralchan
2022-09-09 13:09 ` astralchan
2022-09-09 13:16 ` astralchan
2022-09-09 21:30 ` astralchan
2022-09-09 21:37 ` astralchan
2022-12-09  2:32 ` github-actions
2022-12-24  1:52 ` [PR PATCH] [Closed]: " github-actions

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).