public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gap-pkg-guava] f45: Version 3.22
@ 2026-09-20 17:00 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-09-20 17:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gap-pkg-guava
Branch : f45
Commit : 5dd6cc58dd57d0d18fb20e1fc379b417be008488
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-09-19T16:02:47-06:00
Stats : +48/-179 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gap-pkg-guava/c/5dd6cc58dd57d0d18fb20e1fc379b417be008488?branch=f45
Log:
Version 3.22
---
diff --git a/gap-pkg-guava-warning.patch b/gap-pkg-guava-warning.patch
index 1891f83..56e1694 100644
--- a/gap-pkg-guava-warning.patch
+++ b/gap-pkg-guava-warning.patch
@@ -1,16 +1,5 @@
---- src/leon/src/ccent.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/ccent.c 2025-02-01 11:09:23.873058349 -0700
-@@ -80,7 +80,7 @@ static UnsignedS nextBasePointEltCent(
- const UnsignedS *const cellNumber = UpsilonStack->cellNumber,
- *const cellSize = UpsilonStack->cellSize;
- Unsigned alpha, pt, cSize, shortPriority;
-- unsigned long priority, minPriority;
-+ unsigned long priority, minPriority = ULONG_MAX;
-
- alpha = 0;
- for ( pt = 1 ; pt <= degree ; ++pt )
---- src/leon/src/cent.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/cent.c 2025-02-01 11:09:57.545568559 -0700
+--- src/leon/src/cent.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/cent.c 2026-09-19 14:55:15.496105263 -0600
@@ -169,9 +169,9 @@ int main( int argc, char *argv[])
knownSubgroup_R_LibraryName[MAX_NAME_LENGTH+1] = "",
prefix[MAX_FILE_NAME_LENGTH],
@@ -24,56 +13,39 @@
BOOLEAN imageFlag = FALSE, imageFormatFlag = FALSE, noPartn = FALSE,
longCycleOption, stdRBaseOption;
Unsigned symmetricDegree = 0;
---- src/leon/src/cjrndper.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/cjrndper.c 2025-02-01 11:09:23.874058335 -0700
-@@ -91,15 +91,15 @@ int main(
+--- src/leon/src/cjrndper.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/cjrndper.c 2026-09-19 15:30:06.753328216 -0600
+@@ -91,14 +91,14 @@ int main(
originalInputName[MAX_NAME_LENGTH+1],
prefix[60] = "",
suffix[MAX_NAME_LENGTH] = "";
- Unsigned i, j, k, degree, temp, optionCountPlus1, nRows, nCols, m, lambda,
-- mu, tau, fSize;
-+ Unsigned i, j, k, degree, temp, optionCountPlus1, nRows = 0, nCols = 0, m,
-+ lambda, mu, tau, fSize;
++ Unsigned i, j, k, degree, temp, optionCountPlus1, nRows = 0, nCols, m, lambda,
+ mu, tau, fSize;
unsigned long seed;
- PermGroup *G, *H, *HConjugated;
-- PointSet *Lambda;
-- Permutation *s, *t, *conjugatingPerm, *gen, *genConj;
-- Partition *partn;
-- Matrix_01 *matrix, *matrixConjugated;
-- Code *C, *CConjugated;
+ PermGroup *G = NULL, *H = NULL, *HConjugated;
-+ PointSet *Lambda = NULL;
-+ Permutation *s = NULL, *t, *conjugatingPerm, *gen, *genConj;
-+ Partition *partn = NULL;
+ PointSet *Lambda;
+ Permutation *s, *t, *conjugatingPerm, *gen, *genConj;
+ Partition *partn;
+- Matrix_01 *matrix, *matrixConjugated;
+ Matrix_01 *matrix = NULL, *matrixConjugated;
-+ Code *C = NULL, *CConjugated;
+ Code *C, *CConjugated;
char comment[1024];
BOOLEAN baseSgsFlag = FALSE, imageFormatFlag = FALSE, cjperFlag = FALSE,
- monomialFlag = FALSE;
---- src/leon/src/compgrp.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/compgrp.c 2025-02-01 11:09:23.874058335 -0700
-@@ -73,7 +73,7 @@ int main( int argc, char *argv[])
- PointSet *set1, *set2 = NULL;
- Unsigned optionCountPlus1, i, j;
- Unsigned normalizeFlag = FALSE, centralizeFlag = FALSE,
-- skipNormalize = FALSE, returnCode, degree;
-+ skipNormalize = FALSE, returnCode, degree = 0;
- BOOLEAN comparePermFlag = FALSE, comparePointSetFlag = FALSE,
- comparePartitionFlag = FALSE;
-
---- src/leon/src/compsg.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/compsg.c 2025-02-01 11:09:23.874058335 -0700
+--- src/leon/src/compsg.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/compsg.c 2026-09-19 14:58:32.502004533 -0600
@@ -151,7 +151,7 @@ PermGroup *computeSubgroup(
UnsignedS *pp;
UnsignedS **p;
Unsigned maxBaseChangeLevel;
- SplitSize split, xSplit;
-+ SplitSize split, xSplit = { 0 , 0 };
++ SplitSize split, xSplit = { 0, 0 };
UnsignedS **minPointOfOrbit = (UnsignedS **) allocPtrArrayBaseSize();
UnsignedS **minPointKnown = (UnsignedS **) allocPtrArrayBaseSize();
UnsignedS *minPointKnownCount = allocIntArrayBaseSize();
---- src/leon/src/desauto.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/desauto.c 2025-02-01 11:10:13.488336667 -0700
+--- src/leon/src/desauto.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/desauto.c 2026-09-19 15:34:59.286850751 -0600
@@ -191,11 +191,11 @@ int main( int argc, char *argv[])
prefix[MAX_FILE_NAME_LENGTH],
suffix[MAX_NAME_LENGTH],
@@ -89,8 +61,8 @@
BOOLEAN imageFlag = FALSE, imageFormatFlag = FALSE,
codeFlag = FALSE, transposeFlag = FALSE, pbFlag = FALSE,
monomialFlag = FALSE;
---- src/leon/src/errmesg.h.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/errmesg.h 2025-02-01 11:09:23.875058320 -0700
+--- src/leon/src/errmesg.h.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/errmesg.h 2026-09-19 15:55:00.146070438 -0600
@@ -5,7 +5,7 @@ extern BOOLEAN isValidName(
const char *name) /* The name to be checked for validity. */
;
@@ -118,8 +90,8 @@
const char *file, /* The file in which the error occured. */
int line, /* The line before which the error occured. */
const char *function, /* The function in which the error occured. */
---- src/leon/src/field.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/field.c 2025-02-01 11:09:23.875058320 -0700
+--- src/leon/src/field.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/field.c 2026-09-19 15:00:52.860415388 -0600
@@ -41,14 +41,14 @@ Field *buildField(
Unsigned size)
{
@@ -143,8 +115,8 @@
Field *F;
/* Check for valid field size. */
---- src/leon/src/orblist.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/orblist.c 2025-02-01 11:09:23.875058320 -0700
+--- src/leon/src/orblist.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/orblist.c 2026-09-19 15:36:00.149895961 -0600
@@ -90,7 +90,7 @@ int main( int argc, char *argv[])
altGroupLibName[MAX_NAME_LENGTH+1], pointSetLibName[MAX_NAME_LENGTH+1];
char prefix[MAX_FILE_NAME_LENGTH] = "";
@@ -154,41 +126,17 @@
BOOLEAN lengthOnlyOption, randomOption, writePartn, writeGroup, writePtStab,
writeOrbit, writeMultipleOrbits, pointListOption, quietOption,
imageFormatFlag, printOrbits, trimStrGenSet, writePS, changeBaseOnly,
-@@ -98,8 +98,8 @@ int main( int argc, char *argv[])
- unsigned long seed;
+@@ -99,7 +99,7 @@ int main( int argc, char *argv[])
PermGroup *G;
Permutation *gen, *nextGen;
-- Partition *Theta;
+ Partition *Theta;
- PointSet *Lambda;
-+ Partition *Theta = NULL;
+ PointSet *Lambda = NULL;
UnsignedS *completeOrbit, *startOfOrbitNo, *orbNumberOfPt, *orbOrder;
char comment[128], tempStr[12];
UnsignedS *pointList = allocIntArrayBaseSize();
---- src/leon/src/randobj.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/randobj.c 2025-02-01 11:09:23.876058306 -0700
-@@ -51,8 +51,8 @@ int main(
- char outputFileName[MAX_FILE_NAME_LENGTH+1] = "";
- char outputLibraryName[MAX_NAME_LENGTH+1] = "";
- char outputObjectName[MAX_NAME_LENGTH+1] = "";
-- Unsigned i, j, degree, setSize, equalCellSize, temp, optionCountPlus1,
-- cellSizeSum, numberOfEqualCells, extraPoints;
-+ Unsigned i, j, degree, setSize = 0, equalCellSize, temp, optionCountPlus1,
-+ cellSizeSum, numberOfEqualCells = 0, extraPoints;
- Unsigned designatedCellSize[102];
- UnsignedS *randOrder;
- unsigned long seed;
-@@ -110,7 +110,7 @@ int main(
- seed = 47;
- for ( i = 1 ; i < optionCountPlus1 ; ++i )
- if ( strcmp(argv[i],"-a") == 0 )
-- strcmp( options.outputFileMode, "a");
-+ strcat( options.outputFileMode, "a");
- else if ( strcmp(argv[i],"-e") == 0 )
- equalSizeFlag = TRUE;
- else if ( strncmp( argv[i], "-n:", 3) == 0 )
---- src/leon/src/randschr.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/randschr.c 2025-02-01 11:09:23.876058306 -0700
+--- src/leon/src/randschr.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/randschr.c 2026-09-19 15:46:10.267365694 -0600
@@ -86,7 +86,7 @@ void adjoinGenInverses(
void initializeBase(
PermGroup *const G) /* The group G mentioned above. */
@@ -206,7 +154,7 @@
+ if ( hOrder % primeList[i] == 0 ) {
raisePermToPower( h, hOrder / primeList[i]);
break;
-+ }
++ }
}
}
@@ -230,8 +178,8 @@
tempPerm = h; h = lowestOrderH; lowestOrderH = tempPerm;
finalLevel = levelLowestOrder;
}
---- src/leon/src/readdes.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/readdes.c 2025-02-01 11:09:23.876058306 -0700
+--- src/leon/src/readdes.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/readdes.c 2026-09-19 15:27:13.307785281 -0600
@@ -40,7 +40,7 @@ Matrix_01 *readDesign(
Unsigned requiredPointCount, /* 0 = any */
Unsigned requiredBlockCount) /* 0 = any */
@@ -241,41 +189,23 @@
Matrix_01 *matrix;
Token token, saveToken;
char inputBuffer[81];
-@@ -63,7 +63,7 @@ Matrix_01 *readDesign(
- rewind( libFile);
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "readDesign", "Library block ", libName,
- " not found in specified library.")
- if ( inputBuffer[0] == 'l' || inputBuffer[0] == 'L' ) {
@@ -204,7 +204,7 @@ Matrix_01 *read01Matrix(
Unsigned requiredNumberOfRows, /* 0 = any */
Unsigned requiredNumberOfCols) /* 0 = any */
{
- Unsigned nRows, nCols, setSize;
-+ Unsigned nRows, nCols = 0, setSize = 0;
++ Unsigned nRows = 0, nCols = 0, setSize = 0;
Matrix_01 *matrix;
Token token, saveToken;
char inputBuffer[81];
-@@ -229,7 +229,7 @@ Matrix_01 *read01Matrix(
- firstIdent = TRUE;
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "read01Matrix", "Library block ", libName,
- " not found in specified library.")
- if ( firstIdent && sscanf( inputBuffer, "%s", str) == 1 &&
---- src/leon/src/readgrp.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/readgrp.c 2025-02-01 11:09:23.876058306 -0700
+--- src/leon/src/readgrp.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/readgrp.c 2026-09-19 15:47:21.310717089 -0600
@@ -96,10 +96,10 @@ void writeFactoredInt(
TokenType readCyclePerm(
Permutation *perm)
{
- Unsigned pt, previousPt, firstPtOfCycle, parenLevel = 0;
-+ Unsigned pt, previousPt = 0, firstPtOfCycle = 0, parenLevel = 0;
++ Unsigned pt, previousPt = 0, firstPtOfCycle, parenLevel = 0;
Unsigned degree = perm->degree;
Token token;
- BOOLEAN newCycle;
@@ -292,50 +222,8 @@
PermGroup *G = allocPermGroup();
BOOLEAN generateFlag = FALSE, completeOrbitFlag = FALSE;
BOOLEAN genSetFlag = FALSE, strGenSetFlag = FALSE;
-@@ -337,7 +337,7 @@ PermGroup *readPermGroup(
- rewind( libFile);
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "readPermGroup", "Library block ", libName,
- " not found in specified library.")
- if ( inputBuffer[0] == 'l' || inputBuffer[0] == 'L' ) {
---- src/leon/src/readpar.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/readpar.c 2025-02-01 11:09:23.877058291 -0700
-@@ -49,7 +49,7 @@ Partition *readPartition(
- rewind( libFile);
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "readPartition", "Library block ", libName,
- " not found in specified library.")
- if ( inputBuffer[0] == 'l' || inputBuffer[0] == 'L' ) {
---- src/leon/src/readper.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/readper.c 2025-02-01 11:09:23.877058291 -0700
-@@ -52,7 +52,7 @@ Permutation *readPermutation(
- rewind( libFile);
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "readPermutation", "Library block ", libName,
- " not found in specified library.")
- if ( inputBuffer[0] == 'l' || inputBuffer[0] == 'L' ) {
---- src/leon/src/readpts.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/readpts.c 2025-02-01 11:09:23.877058291 -0700
-@@ -50,7 +50,7 @@ PointSet *readPointSet(
- rewind( libFile);
- for (;;) {
- rv = fgets( inputBuffer, 80, libFile);
-- if ( feof(libFile) )
-+ if ( rv == NULL )
- ERROR1s( "readPointSet", "Library block ", libName,
- " not found in specified library.")
- if ( inputBuffer[0] == 'l' || inputBuffer[0] == 'L' ) {
---- src/leon/src/relator.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/relator.c 2025-02-01 11:09:23.877058291 -0700
+--- src/leon/src/relator.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/relator.c 2026-09-19 15:28:53.114216258 -0600
@@ -681,8 +681,8 @@ Unsigned forceCollapse(
Permutation **hPtr,
Word **wPtr)
@@ -347,25 +235,23 @@
WordImagePair wh;
Unsigned basicOrbLen = G->basicOrbLen[level];
UnsignedS *basicOrbit = G->basicOrbit[level];
---- src/leon/src/setstab.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/setstab.c 2025-02-01 11:09:23.878058277 -0700
-@@ -178,10 +178,10 @@ int main( int argc, char *argv[])
- knownSubgroup_R_LibraryName[MAX_NAME_LENGTH+1] = "",
+--- src/leon/src/setstab.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/setstab.c 2026-09-19 15:37:02.773251070 -0600
+@@ -179,9 +179,9 @@ int main( int argc, char *argv[])
prefix[MAX_FILE_NAME_LENGTH],
suffix[MAX_NAME_LENGTH];
-- PermGroup *G, *G_pP, *L = NULL, *L_L = NULL, *L_R = NULL;
+ PermGroup *G, *G_pP, *L = NULL, *L_L = NULL, *L_R = NULL;
- Permutation *y;
- PointSet *Lambda, *Xi;
- Partition *PLambda, *PXi;
-+ PermGroup *G, *G_pP = NULL, *L = NULL, *L_L = NULL, *L_R = NULL;
+ Permutation *y = NULL;
+ PointSet *Lambda = NULL, *Xi = NULL;
+ Partition *PLambda = NULL, *PXi = NULL;
BOOLEAN imageFlag = FALSE, imageFormatFlag = FALSE;
char ordUnord[10] = "Ordered\0\0";
char tempArg[8];
---- src/leon/src/wtdist.c.orig 2025-02-01 10:30:20.000000000 -0700
-+++ src/leon/src/wtdist.c 2025-02-01 11:09:23.878058277 -0700
+--- src/leon/src/wtdist.c.orig 2026-09-19 10:17:01.000000000 -0600
++++ src/leon/src/wtdist.c 2026-09-19 15:37:29.357122405 -0600
@@ -145,7 +145,7 @@ int main( int argc, char *argv[])
prefix[MAX_FILE_NAME_LENGTH],
suffix[MAX_NAME_LENGTH];
diff --git a/gap-pkg-guava.spec b/gap-pkg-guava.spec
index ffe6cff..af85e0c 100644
--- a/gap-pkg-guava.spec
+++ b/gap-pkg-guava.spec
@@ -2,7 +2,7 @@
%global giturl https://github.com/gap-packages/guava
Name: gap-pkg-%{gap_pkgname}
-Version: 3.21
+Version: 3.22
Release: %autorelease
Summary: Computing with error-correcting codes
@@ -19,18 +19,19 @@ Patch: %{name}-popcount.patch
ExcludeArch: %{ix86}
BuildSystem: gap
BuildOption(install): bin lib tbl tst
+BuildOption(check): tst/testall.g
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gap(autodoc)
+BuildRequires: gap(autodoc) >= 2019.04.10
BuildRequires: gap(sonata) >= 2.3
-BuildRequires: gap-devel >= 4.8.0
+BuildRequires: gap-devel >= 4.11
BuildRequires: gcc
BuildRequires: make
BuildRequires: parallel
Requires: gap(sonata) >= 2.3
-Requires: gap-core%{?_isa} >= 4.8.0
+Requires: gap-core%{?_isa} >= 4.11
Provides: gap(GUAVA) = %{version}-%{release}
Provides: gap(guava) = %{version}-%{release}
@@ -99,24 +100,6 @@ pushd src/leon/doc
pdftex manual.tex
popd
-%check
-# Tests that generate random values often fail.
-# Only run the deterministic tests.
-cd tst
-gap -l '%{buildroot}%{gap_archdir};' << EOF
-LoadPackage("guava");
-if Test("bugfix.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("decoding.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("external.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("guava.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("guava01.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("guava02.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("guava08.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("hadamard.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("QCLDPCCodeFromGroup.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-if Test("table.tst", rec( compareFunction := "uptowhitespace" ) ) = false then GAP_EXIT_CODE(1); fi;
-EOF
-
%files
%doc CHANGES HISTORY README.md README.ctjhai
%license COPYING
diff --git a/sources b/sources
index 48471af..e822288 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (guava-3.21.tar.gz) = 171388c74d307d9dc34730ae6b02e0c9b14c1c9d973fe379b61103d311a6eadf0156e94f9b7d05f5f7ec8e3e5be6e51bc0a1d1174dbe3b36ca8ca214c8e0864d
+SHA512 (guava-3.22.tar.gz) = 88aa398fbd20fb1541ff0ea70a4b24d6211a1cdca6ab359c96cc1b68e433db6d34d8ea695191b0cc60367c42831c25786a177e0fc0be7a9f2ac8d5b100b69e73
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-20 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 17:00 [rpms/gap-pkg-guava] f45: Version 3.22 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox