* [PR PATCH] po4a: update to 0.73
@ 2025-05-01 17:10 newbluemoon
2025-05-17 0:21 ` [PR PATCH] [Closed]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: newbluemoon @ 2025-05-01 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
There is a new pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages po4a
https://github.com/void-linux/void-packages/pull/55226
po4a: update to 0.73
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- 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)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l-musl (cross)
- x86_64-musl
- i686
A patch file from https://github.com/void-linux/void-packages/pull/55226.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-po4a-55226.patch --]
[-- Type: text/x-diff, Size: 7536 bytes --]
From e12d9f53ce996778482c87d13bc3799f7156ea4a Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Thu, 1 May 2025 18:47:08 +0200
Subject: [PATCH 1/4] New package: perl-Extutils-CChecker-0.12
---
srcpkgs/perl-ExtUtils-CChecker/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/perl-ExtUtils-CChecker/template
diff --git a/srcpkgs/perl-ExtUtils-CChecker/template b/srcpkgs/perl-ExtUtils-CChecker/template
new file mode 100644
index 00000000000000..30dee6b385845c
--- /dev/null
+++ b/srcpkgs/perl-ExtUtils-CChecker/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-ExtUtils-CChecker'
+pkgname=perl-ExtUtils-CChecker
+version=0.12
+revision=1
+build_style=perl-ModuleBuild
+hostmakedepends="perl perl-Module-Build"
+makedepends="perl"
+depends="perl"
+checkdepends="perl-Test-Pod"
+short_desc="Configure-time utilities for using C headers, libraries, or OS features"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/pod/ExtUtils::CChecker"
+changelog="https://metacpan.org/dist/ExtUtils-CChecker/changes"
+distfiles="${CPAN_SITE}/ExtUtils/ExtUtils-CChecker-${version}.tar.gz"
+checksum=8b87d145337dec1ee754d30871d0b105c180ad4c92c7dc0c7fadd76cec8c57d3
From 410643ab8c57168feaf8f415b1bff0fe0a03d99b Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Thu, 1 May 2025 18:48:55 +0200
Subject: [PATCH 2/4] New package: perl-XS-Parse-Keyword-0.48
---
.../patches/cross-fix.patch | 28 +++++++++++++++++++
srcpkgs/perl-XS-Parse-Keyword/template | 20 +++++++++++++
2 files changed, 48 insertions(+)
create mode 100644 srcpkgs/perl-XS-Parse-Keyword/patches/cross-fix.patch
create mode 100644 srcpkgs/perl-XS-Parse-Keyword/template
diff --git a/srcpkgs/perl-XS-Parse-Keyword/patches/cross-fix.patch b/srcpkgs/perl-XS-Parse-Keyword/patches/cross-fix.patch
new file mode 100644
index 00000000000000..d4b3a6b6b3c220
--- /dev/null
+++ b/srcpkgs/perl-XS-Parse-Keyword/patches/cross-fix.patch
@@ -0,0 +1,28 @@
+Compiles and runs a test binary for testing cflags which fails in cross builds.
+A check for cflags is not necessary anyway, so remove it completely.
+
+--- a/Build.PL 2025-01-09 17:25:50.000000000 +0100
++++ b/Build.PL 2025-05-01 15:32:22.200963362 +0200
+@@ -21,22 +21,6 @@
+
+ my $cc = ExtUtils::CChecker->new( quiet => 1 );
+
+-$cc->try_find_cflags_for(
+- cflags => [
+- # Most systems will need no extra cflags
+- [],
+- # HPUX may need to be told +std=gnu in order to accept anon inner unions
+- ( $^O eq "hpux" ) ? [ "+std=gnu" ] : (),
+- ],
+- source => <<'EOF'
+-struct Named {
+- union { int a, b; };
+- int c;
+-};
+-int main(void) { struct Named n; n.a = 0; return n.a; }
+-EOF
+-) or die "OS unsupported - C compiler does not support anonymous inner unions\n";
+-
+ my $build = Module::Build::with::XSTests->new(
+ module_name => 'XS::Parse::Keyword',
+ requires => {
diff --git a/srcpkgs/perl-XS-Parse-Keyword/template b/srcpkgs/perl-XS-Parse-Keyword/template
new file mode 100644
index 00000000000000..b24ed639b9add3
--- /dev/null
+++ b/srcpkgs/perl-XS-Parse-Keyword/template
@@ -0,0 +1,20 @@
+# Template file for 'perl-XS-Parse-Keyword'
+pkgname=perl-XS-Parse-Keyword
+version=0.48
+revision=1
+build_style=perl-ModuleBuild
+hostmakedepends="perl perl-ExtUtils-CChecker perl-Module-Build"
+makedepends="perl perl-File-ShareDir"
+depends="perl perl-File-ShareDir"
+checkdepends="perl-Test-Pod"
+short_desc="XS functions to assist in parsing keyword syntax"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/pod/XS::Parse::Keyword"
+changelog="https://metacpan.org/dist/XS-Parse-Keyword/changes"
+distfiles="${CPAN_SITE}/Syntax/PEVANS/XS-Parse-Keyword-${version}.tar.gz"
+checksum=857a070ba465ab5b89d4d8d36d92358edd66e5e7b4a91584611d85125ac9a9c7
+
+do_check() {
+ LD="$CC" ./Build test
+}
From ff69967c4dbd15829ce98fb21f042d2e2e8c0392 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Thu, 1 May 2025 18:50:19 +0200
Subject: [PATCH 3/4] New package: perl-Syntax-Keyword-Try-0.30
---
srcpkgs/perl-Syntax-Keyword-Try/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/perl-Syntax-Keyword-Try/template
diff --git a/srcpkgs/perl-Syntax-Keyword-Try/template b/srcpkgs/perl-Syntax-Keyword-Try/template
new file mode 100644
index 00000000000000..d33421e570c0a2
--- /dev/null
+++ b/srcpkgs/perl-Syntax-Keyword-Try/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Syntax-Keyword-Try'
+pkgname=perl-Syntax-Keyword-Try
+version=0.30
+revision=1
+build_style=perl-ModuleBuild
+hostmakedepends="perl perl-Module-Build perl-XS-Parse-Keyword"
+makedepends="perl"
+depends="perl perl-XS-Parse-Keyword"
+checkdepends="perl-Test-Pod"
+short_desc="Try/catch/finally syntax for perl"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/pod/Syntax::Keyword::Try"
+changelog="https://metacpan.org/dist/Syntax-Keyword-Try/changes"
+distfiles="${CPAN_SITE}/Syntax/Syntax-Keyword-Try-${version}.tar.gz"
+checksum=f068f0b9c71fff8fef6d8a9e9ed6951cb7a52b976322bd955181cc5e7b17e692
From cc9acbb524222e479e9293abd392aae0d69dfd4c Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Thu, 1 May 2025 18:51:37 +0200
Subject: [PATCH 4/4] po4a: update to 0.73
---
srcpkgs/po4a/patches/perl-5-40-fix.patch | 15 +++++++++++++++
srcpkgs/po4a/template | 6 +++---
2 files changed, 18 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/po4a/patches/perl-5-40-fix.patch
diff --git a/srcpkgs/po4a/patches/perl-5-40-fix.patch b/srcpkgs/po4a/patches/perl-5-40-fix.patch
new file mode 100644
index 00000000000000..a77fee4bb53aaf
--- /dev/null
+++ b/srcpkgs/po4a/patches/perl-5-40-fix.patch
@@ -0,0 +1,15 @@
+From https://github.com/mquinson/po4a/commit/28fe52651eb8096d97d6bd3a97b3168522ba5306
+Fix failures with DynaLoader on Perl 5.40
+cf. https://github.com/mquinson/po4a/issues/508
+
+--- a/lib/Locale/Po4a/TransTractor.pm 2024-06-17 22:13:11.000000000 +0200
++++ b/lib/Locale/Po4a/TransTractor.pm 2025-05-01 14:49:53.437322715 +0200
+@@ -5,6 +5,8 @@
+ package Locale::Po4a::TransTractor;
+ use DynaLoader;
+
++sub import { }
++
+ use 5.16.0;
+ use strict;
+ use warnings;
diff --git a/srcpkgs/po4a/template b/srcpkgs/po4a/template
index 8dd6a6ed641b3e..5b975a0fe54595 100644
--- a/srcpkgs/po4a/template
+++ b/srcpkgs/po4a/template
@@ -1,10 +1,10 @@
# Template file for 'po4a'
pkgname=po4a
-version=0.66
+version=0.73
revision=1
build_style=perl-ModuleBuild
_perldeps="perl perl-Text-WrapI18N perl-Term-ReadKey perl-Unicode-LineBreak
- perl-SGMLSpm perl-YAML-Tiny perl-Pod-Parser"
+ perl-SGMLSpm perl-Syntax-Keyword-Try perl-YAML-Tiny perl-Pod-Parser"
hostmakedepends="${_perldeps} perl-Locale-gettext perl-Module-Build gettext
libxslt docbook-xsl"
makedepends="${_perldeps} perl-Locale-gettext perl-Module-Build"
@@ -16,5 +16,5 @@ license="GPL-2.0-or-later"
homepage="https://po4a.org/"
changelog="https://raw.githubusercontent.com/mquinson/po4a/master/NEWS"
distfiles="https://github.com/mquinson/po4a/archive/v${version}.tar.gz"
-checksum=8ae65c69b3a3e3911c449284aa9f07c80b74484fd211f6e2a7e6b57e09f3afd8
+checksum=ad5edc38bf004807843622fddbf67bd5ac604fc16e14c2bfefa7b07718ad21f3
make_check=ci-skip # cannot repoduce failure locally
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: po4a: update to 0.73
2025-05-01 17:10 [PR PATCH] po4a: update to 0.73 newbluemoon
@ 2025-05-17 0:21 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2025-05-17 0:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There's a closed pull request on the void-packages repository
po4a: update to 0.73
https://github.com/void-linux/void-packages/pull/55226
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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- 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)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64 (cross)
- armv7l-musl (cross)
- x86_64-musl
- i686
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-17 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 17:10 [PR PATCH] po4a: update to 0.73 newbluemoon
2025-05-17 0:21 ` [PR PATCH] [Closed]: " classabbyamp
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).