* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
@ 2022-03-26 14:25 ` subnut
2022-03-26 17:29 ` [PR PATCH] [Closed]: " subnut
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 14:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 1617 bytes --]
From 86e20865a1d75a79e392df9fa06336ce8f850ed7 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH] New package: glirc-2.38
---
srcpkgs/glirc/template | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..a873ad49d029
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,41 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.38
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+_ghcver="$(xbps-query -S ghc --prop pkgver)"
+_ghcver="${_ghcver%_*}"
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/${_ghcver}/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Closed]: New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
2022-03-26 14:25 ` [PR PATCH] [Updated] " subnut
@ 2022-03-26 17:29 ` subnut
2022-03-26 17:30 ` subnut
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 17:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]
There's a closed pull request on the void-packages repository
New package: glirc-2.38
https://github.com/void-linux/void-packages/pull/36362
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
2022-03-26 14:25 ` [PR PATCH] [Updated] " subnut
2022-03-26 17:29 ` [PR PATCH] [Closed]: " subnut
@ 2022-03-26 17:30 ` subnut
2022-03-26 18:21 ` [PR REVIEW] " Chocimier
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 17:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
New comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/36362#issuecomment-1079738881
Comment:
Mistakenly closed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR REVIEW] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (2 preceding siblings ...)
2022-03-26 17:30 ` subnut
@ 2022-03-26 18:21 ` Chocimier
2022-03-26 18:23 ` [PR PATCH] [Updated] " subnut
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Chocimier @ 2022-03-26 18:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
New review comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/36362#discussion_r835794147
Comment:
There should be no external commands run on top level of template. Please either remove this completely and use wildcard, or move inside of do_build replacing with `ghc --version | sed _something_`.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (3 preceding siblings ...)
2022-03-26 18:21 ` [PR REVIEW] " Chocimier
@ 2022-03-26 18:23 ` subnut
2022-03-26 18:24 ` [PR REVIEW] " subnut
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 18:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 1532 bytes --]
From bae5de17bcdefe8f20c494c43626ed0b734a792c Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH] New package: glirc-2.38
---
srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..f88dc79a7701
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,38 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.38
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR REVIEW] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (4 preceding siblings ...)
2022-03-26 18:23 ` [PR PATCH] [Updated] " subnut
@ 2022-03-26 18:24 ` subnut
2022-03-26 18:37 ` subnut
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 18:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
New review comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/36362#discussion_r835794441
Comment:
> There should be no external commands run on top level of template.
okay, I've removed them in the latest commit.
But may I know the reason behind this rule? Also, is it mentioned in the [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md)?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR REVIEW] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (5 preceding siblings ...)
2022-03-26 18:24 ` [PR REVIEW] " subnut
@ 2022-03-26 18:37 ` subnut
2022-03-27 2:03 ` [PR PATCH] [Updated] " subnut
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-26 18:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
New review comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/36362#discussion_r835795777
Comment:
Answering myself: One of the reasons will be that the template file is sourced many times, thus any command run on the top level will cause significant slowdowns.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (6 preceding siblings ...)
2022-03-26 18:37 ` subnut
@ 2022-03-27 2:03 ` subnut
2022-06-18 18:47 ` subnut
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-03-27 2:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 1564 bytes --]
From 2f1ab102308b72d522ee15904746ec984562f48a Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH] New package: glirc-2.38
---
srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..722796c88d6c
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,38 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.38
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
+checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (7 preceding siblings ...)
2022-03-27 2:03 ` [PR PATCH] [Updated] " subnut
@ 2022-06-18 18:47 ` subnut
2022-07-31 4:41 ` subnut
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-06-18 18:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 2655 bytes --]
From 2f1ab102308b72d522ee15904746ec984562f48a Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH 1/2] New package: glirc-2.38
---
srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..722796c88d6c
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,38 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.38
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
+checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
From 806152a6057fe22a9269a389ca6a781584e016fc Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sun, 19 Jun 2022 00:16:34 +0530
Subject: [PATCH 2/2] glirc: update to 2.39
---
srcpkgs/glirc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
index 722796c88d6c..7941130bb155 100644
--- a/srcpkgs/glirc/template
+++ b/srcpkgs/glirc/template
@@ -1,6 +1,6 @@
# Template file for 'glirc'
pkgname=glirc
-version=2.38
+version=2.39
revision=1
wrksrc="irc-core-${version}"
hostmakedepends="cabal-install"
@@ -10,7 +10,7 @@ maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="ISC"
homepage="https://github.com/glguy/irc-core"
distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
-checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+checksum=9e6031fe4ee5db73cb49be746844343f9ec5df318d1120317b80da05cda5a79f
nocross="cabal does not support cross compilation"
nopie=yes # ghc is currently built without PIE support
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (8 preceding siblings ...)
2022-06-18 18:47 ` subnut
@ 2022-07-31 4:41 ` subnut
2022-10-07 9:16 ` leahneukirchen
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-07-31 4:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 3750 bytes --]
From b4b156809898dd7632de4f7bbdfe6cfd16034e19 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH 1/3] New package: glirc-2.38
---
srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..722796c88d6c
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,38 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.38
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
+checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
From 3cc6bea222c1cffc345c6c2d3da3bb49df341bb4 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sun, 19 Jun 2022 00:16:34 +0530
Subject: [PATCH 2/3] glirc: update to 2.39
---
srcpkgs/glirc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
index 722796c88d6c..7941130bb155 100644
--- a/srcpkgs/glirc/template
+++ b/srcpkgs/glirc/template
@@ -1,6 +1,6 @@
# Template file for 'glirc'
pkgname=glirc
-version=2.38
+version=2.39
revision=1
wrksrc="irc-core-${version}"
hostmakedepends="cabal-install"
@@ -10,7 +10,7 @@ maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="ISC"
homepage="https://github.com/glguy/irc-core"
distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
-checksum=abb51831a3748c22eb5f8fbeee1fa71d2a99a6f92331976eef980f8f7d0c9680
+checksum=9e6031fe4ee5db73cb49be746844343f9ec5df318d1120317b80da05cda5a79f
nocross="cabal does not support cross compilation"
nopie=yes # ghc is currently built without PIE support
From 0d7cf9c82dac5eab6786ebd22405ead9104a3e58 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sun, 31 Jul 2022 10:11:18 +0530
Subject: [PATCH 3/3] glirc: update to 2.39.0.1
---
srcpkgs/glirc/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
index 7941130bb155..db984c13a461 100644
--- a/srcpkgs/glirc/template
+++ b/srcpkgs/glirc/template
@@ -1,6 +1,6 @@
# Template file for 'glirc'
pkgname=glirc
-version=2.39
+version=2.39.0.1
revision=1
wrksrc="irc-core-${version}"
hostmakedepends="cabal-install"
@@ -10,7 +10,7 @@ maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="ISC"
homepage="https://github.com/glguy/irc-core"
distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
-checksum=9e6031fe4ee5db73cb49be746844343f9ec5df318d1120317b80da05cda5a79f
+checksum=16bfe9c8df273fb074ce1da91964131318934a6d568be5271c350548eeb1a6af
nocross="cabal does not support cross compilation"
nopie=yes # ghc is currently built without PIE support
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (9 preceding siblings ...)
2022-07-31 4:41 ` subnut
@ 2022-10-07 9:16 ` leahneukirchen
2022-10-25 18:04 ` [PR PATCH] [Updated] " subnut
2022-10-26 15:52 ` [PR PATCH] [Merged]: New package: glirc-2.39.0.1 leahneukirchen
12 siblings, 0 replies; 14+ messages in thread
From: leahneukirchen @ 2022-10-07 9:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/36362#issuecomment-1271336646
Comment:
Please squash and rebase.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] New package: glirc-2.38
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (10 preceding siblings ...)
2022-10-07 9:16 ` leahneukirchen
@ 2022-10-25 18:04 ` subnut
2022-10-26 15:52 ` [PR PATCH] [Merged]: New package: glirc-2.39.0.1 leahneukirchen
12 siblings, 0 replies; 14+ messages in thread
From: subnut @ 2022-10-25 18:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages glirc
https://github.com/void-linux/void-packages/pull/36362
New package: glirc-2.38
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36362.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glirc-36362.patch --]
[-- Type: text/x-diff, Size: 1572 bytes --]
From 7c07923a165c1e5ded6370ed18b7f4b64de5c5dd Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 26 Mar 2022 10:49:57 +0530
Subject: [PATCH] New package: glirc-2.39.0.1
---
srcpkgs/glirc/template | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 srcpkgs/glirc/template
diff --git a/srcpkgs/glirc/template b/srcpkgs/glirc/template
new file mode 100644
index 000000000000..db984c13a461
--- /dev/null
+++ b/srcpkgs/glirc/template
@@ -0,0 +1,38 @@
+# Template file for 'glirc'
+pkgname=glirc
+version=2.39.0.1
+revision=1
+wrksrc="irc-core-${version}"
+hostmakedepends="cabal-install"
+makedepends="ncurses-devel openssl-devel"
+short_desc="Console IRC client written in Haskell"
+maintainer="Subhaditya Nath <sn03.general@gmail.com>"
+license="ISC"
+homepage="https://github.com/glguy/irc-core"
+distfiles="https://github.com/glguy/irc-core/archive/refs/tags/v${version}.tar.gz"
+checksum=16bfe9c8df273fb074ce1da91964131318934a6d568be5271c350548eeb1a6af
+nocross="cabal does not support cross compilation"
+nopie=yes # ghc is currently built without PIE support
+
+_cabal_opts="-g"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ _cabal_opts+=" --ghc-option -latomic"
+fi
+
+if [ "$XBPS_MAKEJOBS" ]; then
+ _cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
+fi
+
+do_build() {
+ cabal update $_cabal_opts
+ cabal build $_cabal_opts
+ mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
+}
+
+do_install() {
+ vbin glirc
+ vman glirc.1
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Merged]: New package: glirc-2.39.0.1
2022-03-26 14:15 [PR PATCH] New package: glirc-2.38 subnut
` (11 preceding siblings ...)
2022-10-25 18:04 ` [PR PATCH] [Updated] " subnut
@ 2022-10-26 15:52 ` leahneukirchen
12 siblings, 0 replies; 14+ messages in thread
From: leahneukirchen @ 2022-10-26 15:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]
There's a merged pull request on the void-packages repository
New package: glirc-2.39.0.1
https://github.com/void-linux/void-packages/pull/36362
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 14+ messages in thread