Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] fcitx5-qt: remove unused conditional block
@ 2022-11-19  0:41 classabbyamp
  2022-11-19  0:46 ` [PR PATCH] [Updated] " classabbyamp
  2022-11-24  4:16 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2022-11-19  0:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix/fcitx5-qt-atomic
https://github.com/void-linux/void-packages/pull/40601

fcitx5-qt: remove unused conditional block
the test on this block always evaluates false because `XBPS_TARGET_NOATOMIC8` is never set, so it is never run (the variable is actually `XBPS_TARGET_NO_ATOMIC8`).

Because it was never active it should not change the resultant package on armv6 or other no atomic8 platforms.

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

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



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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/fcitx5-qt-atomic-40601.patch --]
[-- Type: text/x-diff, Size: 1071 bytes --]

From 62f4f89f53dca7f4b41673029c88e4a136c259ba Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 18 Nov 2022 19:35:22 -0500
Subject: [PATCH] fcitx5-qt: remove unused conditional block

the test on this block always evaluates false because
`XBPS_TARGET_NOATOMIC8` is never set, so it is never run
(the variable is actually `XBPS_TARGET_NO_ATOMIC8`).
---
 srcpkgs/fcitx5-qt/template | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/srcpkgs/fcitx5-qt/template b/srcpkgs/fcitx5-qt/template
index 3c88aa0bf50c..dbae8b99a5ca 100644
--- a/srcpkgs/fcitx5-qt/template
+++ b/srcpkgs/fcitx5-qt/template
@@ -17,11 +17,6 @@ distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-qt/fcitx5-qt-${version}.t
 checksum=21743c4353c793934222fa7115493cd30da9843b4baed22e64bddfa6dd7341a8
 lib32disabled=yes
 
-if [ "$XBPS_TARGET_NOATOMIC8" ]; then
-	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
-	makedepends+=" libatomic-devel"
-fi
-
 post_install() {
 	local _file
 	for _file in $(grep -rl 'SPDX-License-Identifier: BSD-3-Clause' qt5 qt6)

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

* Re: [PR PATCH] [Updated] fcitx5-qt: remove unused conditional block
  2022-11-19  0:41 [PR PATCH] fcitx5-qt: remove unused conditional block classabbyamp
@ 2022-11-19  0:46 ` classabbyamp
  2022-11-24  4:16 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-11-19  0:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages fix/fcitx5-qt-atomic
https://github.com/void-linux/void-packages/pull/40601

fcitx5-qt: remove unused conditional block
the test on this block always evaluates false because `XBPS_TARGET_NOATOMIC8` is never set, so it is never run (the variable is actually `XBPS_TARGET_NO_ATOMIC8`).

Because it was never active it should not change the resultant package on armv6 or other no atomic8 platforms.

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

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



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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix/fcitx5-qt-atomic-40601.patch --]
[-- Type: text/x-diff, Size: 1132 bytes --]

From 5b8369ec90b85ab1acc94c34d6a444ad0cee87af Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 18 Nov 2022 19:35:22 -0500
Subject: [PATCH] fcitx5-qt: remove unused conditional block

added in #30714, but it seems to have never been necessary.

the test on this block always evaluates false because
`XBPS_TARGET_NOATOMIC8` is never set, so it is never run
(the variable is actually `XBPS_TARGET_NO_ATOMIC8`).
---
 srcpkgs/fcitx5-qt/template | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/srcpkgs/fcitx5-qt/template b/srcpkgs/fcitx5-qt/template
index 3c88aa0bf50c..dbae8b99a5ca 100644
--- a/srcpkgs/fcitx5-qt/template
+++ b/srcpkgs/fcitx5-qt/template
@@ -17,11 +17,6 @@ distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-qt/fcitx5-qt-${version}.t
 checksum=21743c4353c793934222fa7115493cd30da9843b4baed22e64bddfa6dd7341a8
 lib32disabled=yes
 
-if [ "$XBPS_TARGET_NOATOMIC8" ]; then
-	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
-	makedepends+=" libatomic-devel"
-fi
-
 post_install() {
 	local _file
 	for _file in $(grep -rl 'SPDX-License-Identifier: BSD-3-Clause' qt5 qt6)

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

* Re: [PR PATCH] [Merged]: fcitx5-qt: remove unused conditional block
  2022-11-19  0:41 [PR PATCH] fcitx5-qt: remove unused conditional block classabbyamp
  2022-11-19  0:46 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-11-24  4:16 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2022-11-24  4:16 UTC (permalink / raw)
  To: ml

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

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

fcitx5-qt: remove unused conditional block
https://github.com/void-linux/void-packages/pull/40601

Description:
added in #30714, but it seems to have never been necessary.

the test on this block always evaluates false because `XBPS_TARGET_NOATOMIC8` is never set, so it is never run (the variable is actually `XBPS_TARGET_NO_ATOMIC8`).

Because it was never active it should not change the resultant package on armv6 or other no atomic8 platforms.

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

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



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

end of thread, other threads:[~2022-11-24  4:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-19  0:41 [PR PATCH] fcitx5-qt: remove unused conditional block classabbyamp
2022-11-19  0:46 ` [PR PATCH] [Updated] " classabbyamp
2022-11-24  4:16 ` [PR PATCH] [Merged]: " sgn

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