Bug 2414840 - Review Request: giza - A 2D scientific plotting library built on cairo
Summary: Review Request: giza - A 2D scientific plotting library built on cairo
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/danieljprice/giza
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-13 15:06 UTC by Phil Wyett
Modified: 2025-11-23 03:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 9795361 to 9807606 (956 bytes, patch)
2025-11-18 08:55 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9807606 to 9813421 (1.59 KB, patch)
2025-11-19 18:39 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9813421 to 9815834 (384 bytes, patch)
2025-11-20 08:04 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9826893 to 9829842 (706 bytes, patch)
2025-11-23 03:34 UTC, Fedora Review Service
no flags Details | Diff

Description Phil Wyett 2025-11-13 15:06:09 UTC
Spec URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza.spec

SRPM URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza-1.5.0-1.el9.src.rpm

Description: 

A 2D scientific plotting library built on cairo. Provides uniform output to
PDF, PS, PNG and X-Windows. Written in C with no dependencies (other than
cairo) as a direct replacement for PGPLOT.

Fedora Account System Username: kathenas

Review build on copr: https://copr.fedorainfracloud.org/coprs/kathenas/giza/build/9795251/

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig not called in %post and %postun for Fedora 28 and later.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU Lesser General Public License,
     Version 3", "FSF Unlimited License (with License Retention) and/or GNU
     General Public License v2.0 or later [generated file]", "FSF Unlimited
     License [generated file]", "GNU General Public License v2.0 or later
     [generated file]", "GNU General Public License v3.0 or later", "X11
     License [generated file]", "GNU General Public License v2.0 or later",
     "FSF Unlimited License (with License Retention) and/or GNU General
     Public License, Version 2", "FSF Unlimited License (with License
     Retention)", "GNU General Public License". 82 files have unknown
     license. Detailed output of licensecheck in /var/lib/copr-
     rpmbuild/results/giza/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[ ]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib64/gfortran
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib64/gfortran/modules,
     /usr/lib64/gfortran
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[ ]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[ ]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[ ]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 462040 bytes in 8 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: Static libraries in -static or -devel subpackage, providing -devel if
     present.
     Note: Package has .a files: giza-static.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[!]: Reviewer should test that the package builds in mock.
[ ]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in giza-
     static
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[ ]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: giza-1.5.0-1.fc44.x86_64.rpm
          giza-static-1.5.0-1.fc44.x86_64.rpm
          giza-devel-1.5.0-1.fc44.x86_64.rpm
          giza-1.5.0-1.fc44.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpyafs4ehp')]
checks: 32, packages: 4

giza.spec: W: specfile-warning sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
giza-devel.x86_64: W: no-documentation
giza.spec: W: no-%check-section
 4 packages and 0 specfiles checked; 0 errors, 3 warnings, 38 filtered, 0 badness; has taken 0.5 s 




Rpmlint (debuginfo)
-------------------
Checking: giza-debuginfo-1.5.0-1.fc44.x86_64.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpl07nv9n0')]
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 14 filtered, 0 badness; has taken 0.2 s 





Rpmlint (installed packages)
----------------------------
(none): E: there is no installed rpm "giza-debuginfo".
(none): E: there is no installed rpm "giza-static".
(none): E: there is no installed rpm "giza".
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 4

 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 filtered, 0 badness; has taken 0.0 s 
(none): E: there is no installed rpm "giza-devel".
There are no files to process nor additional arguments.
Nothing to do, aborting.



Source checksums
----------------
https://github.com/danieljprice/giza/archive/refs/tags/v1.5.0.tar.gz#/giza-1.5.0.tar.gz :
  CHECKSUM(SHA256) this package     : d45f1f930b4e4a3c77e0b110b97b732c290d169bf9ae0c3fc7dcd2895c1b3afe
  CHECKSUM(SHA256) upstream package : d45f1f930b4e4a3c77e0b110b97b732c290d169bf9ae0c3fc7dcd2895c1b3afe


Requires
--------
giza (rpmlib, GLIBC filtered):
    libX11.so.6()(64bit)
    libc.so.6()(64bit)
    libcairo.so.2()(64bit)
    libfontconfig.so.1()(64bit)
    libfreetype.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgfortran.so.5()(64bit)
    libgfortran.so.5(GFORTRAN_10)(64bit)
    libgfortran.so.5(GFORTRAN_8)(64bit)
    libgiza.so.2()(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)

giza-static (rpmlib, GLIBC filtered):
    giza-devel(x86-64)

giza-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    giza(x86-64)
    libcpgplot.so.2()(64bit)
    libgiza.so.2()(64bit)
    libpgplot.so.2()(64bit)



Provides
--------
giza:
    giza
    giza(x86-64)
    libcpgplot.so.2()(64bit)
    libgiza.so.2()(64bit)
    libpgplot.so.2()(64bit)

giza-static:
    giza-static
    giza-static(x86-64)

giza-devel:
    giza-devel
    giza-devel(x86-64)
    pkgconfig(cpgplot)
    pkgconfig(giza)
    pkgconfig(pgplot)



Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/bin/fedora-review --no-colors --prebuilt --rpm-spec --name giza --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api
Disabled plugins: Java, SugarActivity, Python, Perl, fonts, PHP, Haskell, Ocaml, R
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 1 Phil Wyett 2025-11-13 15:14:52 UTC
Apologies if I have checked sections that I should not have. It has been a while and this is the first submission in a few years.

Comment 2 Fedora Review Service 2025-11-13 15:15:20 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9795361
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09795361-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Ben Beasley 2025-11-18 07:45:19 UTC
Is there a specific technical requirement for the static library? If so, it would be helpful to justify packaging the static library in a spec-file comment, since we avoid packaging those whenever possible: https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries

Comment 4 Benson Muite 2025-11-18 07:57:24 UTC
May also want to check what is in https://bugzilla.redhat.com/show_bug.cgi?id=1187030 and perhaps choose to
co-maintain the package.

Comment 5 Phil Wyett 2025-11-18 08:48:39 UTC
(In reply to Ben Beasley from comment #3)
> Is there a specific technical requirement for the static library? If so, it
> would be helpful to justify packaging the static library in a spec-file
> comment, since we avoid packaging those whenever possible:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-
> libraries

Ben,

Thanks, I am now too used to creating static packages for Debian and have to get back to that they are not wanted unless for good reason.

Below is new SPEC and SRPM disabling static lib build and removing associated RPMS.

Spec URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza.spec

SRPM URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza-1.5.0-1.el9.src.rpm

Comment 6 Fedora Review Service 2025-11-18 08:55:47 UTC
Created attachment 2114906 [details]
The .spec file difference from Copr build 9795361 to 9807606

Comment 7 Fedora Review Service 2025-11-18 08:55:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9807606
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09807606-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 Phil Wyett 2025-11-18 08:59:00 UTC
(In reply to Benson Muite from comment #4)
> May also want to check what is in
> https://bugzilla.redhat.com/show_bug.cgi?id=1187030 and perhaps choose to
> co-maintain the package.

I will push forward with this submission, but am happy to add a co-maintainer after in Fedora. I will be able to introduce any co-maintainer to the upstream developer who I have a good working relationship with.

Comment 9 Ben Beasley 2025-11-18 10:02:05 UTC
I can’t find this written down anywhere, but I think that in cases of duplicate review requests for the same package, the earlier one should take priority. In this case, that would be bug 1187030. This review request could be considered if the previous one becomes stalled (https://docs.fedoraproject.org/en-US/fesco/Package_review_policy/#stalled) or by agreement with the previous submitter.

Comment 10 Phil Wyett 2025-11-18 10:38:51 UTC
(In reply to Ben Beasley from comment #9)
> I can’t find this written down anywhere, but I think that in cases of
> duplicate review requests for the same package, the earlier one should take
> priority. In this case, that would be bug 1187030. This review request could
> be considered if the previous one becomes stalled
> (https://docs.fedoraproject.org/en-US/fesco/Package_review_policy/#stalled)
> or by agreement with the previous submitter.

The ticket listed has had no activity since April of this year and dates back to 2015.

I am packaging giza as a build dependency for splash[1] which I am preparing now, a widely used astronomy tool. I will maintain and keep both up to date within fedora and EPEL.

[1] https://github.com/danieljprice/splash

Comment 11 Ben Beasley 2025-11-18 10:54:16 UTC
(In reply to Phil Wyett from comment #10)
> The ticket listed has had no activity since April of this year and dates
> back to 2015.

Right, that’s what https://docs.fedoraproject.org/en-US/fesco/Package_review_policy/#submitter_not_responding is for. The policy implies there will be automated comments, but the automation seems to be broken. I added the prescribed comment, https://bugzilla.redhat.com/show_bug.cgi?id=1187030#c65. If there is no reply within one week, then that bug can be closed as a duplicate of this one.

Comment 12 Phil Wyett 2025-11-18 11:05:53 UTC
(In reply to Ben Beasley from comment #11)
> (In reply to Phil Wyett from comment #10)
> > The ticket listed has had no activity since April of this year and dates
> > back to 2015.
> 
> Right, that’s what
> https://docs.fedoraproject.org/en-US/fesco/Package_review_policy/
> #submitter_not_responding is for. The policy implies there will be automated
> comments, but the automation seems to be broken. I added the prescribed
> comment, https://bugzilla.redhat.com/show_bug.cgi?id=1187030#c65. If there
> is no reply within one week, then that bug can be closed as a duplicate of
> this one.

Thanks, we will see what happens over the next week.

Comment 13 Ben Beasley 2025-11-18 11:11:04 UTC
It’s a minor thing, but this doesn’t do what you intended:

%if 0%{?el} <= 9

On Fedora, the el macro is not defined, and this expands to "%if 00 <= 9", which is true – so the unnecessary manual .la file removal does happen on Fedora.

Since the only non-end-of-life EPEL older than EPEL9 is EPEL8, you might just write "%if 0%{?el8}" or "%if %{defined el8}" instead.

Explicitly removing the .la file is just unnecessary on Fedora (because it’s handled by a buildroot policy script), not wrong or harmful, so I wouldn’t block a package review on this.

----

You should be more explicit about listing files in shared directories,

%{_includedir}/*.h
%{_includedir}/*.F90
%{_libdir}/*.so
[…]
%{_libdir}/pkgconfig/*.pc

See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists.

----

A more straightforward way to write this

  Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz

would be this

  Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

If you want to be very precise about specifying a tag (only really required if upstream
produces releases with the same names as tags, making the URL I’ve suggested above
ambiguous), then you can also write

  Source0: %{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz

which still avoids the "#/" hack.

----

I favor re-generating configure scripts from autotools sources by adding BuildRequires on autoconf, automake, and libtool, and adding "autoreconf --force --install --verbose" to %build (or to %conf, if using that section), rather than using pre-generated configure scripts, but this has been a matter of significant debate in Fedora, and there has never been a solid consensus on what the Right Thing to Do is. Therefore, it wouldn’t be correct to ask you to change this, only to point out that you have a choice.

----

Is there anything stopping you from running the tests?

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_test_suites

----

I still haven’t looked at this as closely as I would when doing a real review, but this otherwise looks pretty reasonable.

Comment 14 Phil Wyett 2025-11-19 18:32:42 UTC
(In reply to Ben Beasley from comment #13)
> It’s a minor thing, but this doesn’t do what you intended:
> 
> %if 0%{?el} <= 9
> 
> On Fedora, the el macro is not defined, and this expands to "%if 00 <= 9",
> which is true – so the unnecessary manual .la file removal does happen on
> Fedora.
> 
> Since the only non-end-of-life EPEL older than EPEL9 is EPEL8, you might
> just write "%if 0%{?el8}" or "%if %{defined el8}" instead.
> 
> Explicitly removing the .la file is just unnecessary on Fedora (because it’s
> handled by a buildroot policy script), not wrong or harmful, so I wouldn’t
> block a package review on this.
> 
> ----
> 
> You should be more explicit about listing files in shared directories,
> 
> %{_includedir}/*.h
> %{_includedir}/*.F90
> %{_libdir}/*.so
> […]
> %{_libdir}/pkgconfig/*.pc
> 
> See
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists.
> 
> ----
> 
> A more straightforward way to write this
> 
>   Source0:
> %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
> 
> would be this
> 
>   Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
> 
> If you want to be very precise about specifying a tag (only really required
> if upstream
> produces releases with the same names as tags, making the URL I’ve suggested
> above
> ambiguous), then you can also write
> 
>   Source0: %{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
> 
> which still avoids the "#/" hack.
> 
> ----
> 
> I favor re-generating configure scripts from autotools sources by adding
> BuildRequires on autoconf, automake, and libtool, and adding "autoreconf
> --force --install --verbose" to %build (or to %conf, if using that section),
> rather than using pre-generated configure scripts, but this has been a
> matter of significant debate in Fedora, and there has never been a solid
> consensus on what the Right Thing to Do is. Therefore, it wouldn’t be
> correct to ask you to change this, only to point out that you have a choice.
> 
> ----
> 
> Is there anything stopping you from running the tests?
> 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_test_suites
> 
> ----
> 
> I still haven’t looked at this as closely as I would when doing a real
> review, but this otherwise looks pretty reasonable.

I think my new upload should cover the issues raised.

Spec URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza.spec

SRPM URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza-1.5.0-1.el9.src.rpm

Comment 15 Fedora Review Service 2025-11-19 18:39:06 UTC
Created attachment 2115285 [details]
The .spec file difference from Copr build 9807606 to 9813421

Comment 16 Fedora Review Service 2025-11-19 18:39:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9813421
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09813421-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 18 Fedora Review Service 2025-11-20 08:04:29 UTC
Created attachment 2115364 [details]
The .spec file difference from Copr build 9813421 to 9815834

Comment 19 Fedora Review Service 2025-11-20 08:04:31 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9815834
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09815834-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 20 Ben Beasley 2025-11-20 10:57:58 UTC
The license situation here is weird.

COPYING is GPLv3

COPYING.LESSER is LGPLv3

ChangeLog has:

> 2023-11-28  Daniel Price <daniel.price>
> 
>         * COPYING, LICENSE: changed license to LGPL3

And docs/index.html has:

> Giza is currently distributed under the <a href="https://www.gnu.org/licenses/lgpl-3.0.html">LGPL license</a>.

But all of the source file still have this header:

> /* giza - a scientific plotting library built on cairo
>  *
>  * Copyright (c) 2010      James Wetter and Daniel Price
>  * Copyright (c) 2010-2012 Daniel Price
>  *
>  * This library is free software; and you are welcome to redistribute
>  * it under the terms of the GNU General Public License
>  * (GPL, see LICENSE file for details) and the provision that
>  * this notice remains intact. If you modify this file, please
>  * note section 5a) of the GPLv3 states that:
>  *
>  *  a) The work must carry prominent notices stating that you modified
>  *  it, and giving a relevant date.
>  *
>  * This software is distributed "AS IS", with ABSOLUTELY NO WARRANTY.
>  * See the GPL for specific language governing rights and limitations.
>  *
>  * The Original code is the giza plotting library.
>  *
>  * Contributor(s):
>  *      James Wetter <wetter.j>
>  *      Daniel Price <daniel.price> (main contact)
>  */

which is GPLv3, probably GPL-3.0-only in SPDX terms since there is no “or any later version” language, although it’s a slightly ambiguous notice. However, there is an unusual extra bit here:

> and the provision that this notice remains intact.

which probably needs to be reviewed in https://gitlab.com/fedora/legal/fedora-license-data/-/issues.

From https://github.com/danieljprice/giza/pull/69, upstream seems to have the impression that they can include GPL-licensed sources in a library and still call it LGPL overall. I don’t find this convincing, and would probably call it “LGPL-3.0-only AND GPL-3.0-only”, subject to review of the “and the provision that this notice remains intact” language. I see nothing that indicates a disjunctive choice of licenses, so I don’t think “LGPL-3.0-only or GPL-3.0-only” is correct.

The files src/*.pc.in have this license:

> # This file is free software; as a special exception the author gives
> # unlimited permission to copy and/or distribute it, with or without
> # modifications, as long as this notice is preserved.
> #
> # This file is distributed in the hope that it will be useful, but
> # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
> # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

which seems like a close enough match for FSFULLRWD, https://spdx.org/licenses/FSFULLRWD.html. Since the .pc files generated from these are installed in the -devel subpackage, the -devel subpackage should have a corresponding license term, like:

# .pc files are FSFULLRWD
License: LGPL-3.0-only AND GPL-3.0-only AND FSFULLRWD

Comment 21 Phil Wyett 2025-11-20 11:20:23 UTC
(In reply to Ben Beasley from comment #20)
> The license situation here is weird.
> 
> COPYING is GPLv3
> 
> COPYING.LESSER is LGPLv3
> 
> ChangeLog has:
> 
> > 2023-11-28  Daniel Price <daniel.price>
> > 
> >         * COPYING, LICENSE: changed license to LGPL3
> 
> And docs/index.html has:
> 
> > Giza is currently distributed under the <a href="https://www.gnu.org/licenses/lgpl-3.0.html">LGPL license</a>.
> 
> But all of the source file still have this header:
> 
> > /* giza - a scientific plotting library built on cairo
> >  *
> >  * Copyright (c) 2010      James Wetter and Daniel Price
> >  * Copyright (c) 2010-2012 Daniel Price
> >  *
> >  * This library is free software; and you are welcome to redistribute
> >  * it under the terms of the GNU General Public License
> >  * (GPL, see LICENSE file for details) and the provision that
> >  * this notice remains intact. If you modify this file, please
> >  * note section 5a) of the GPLv3 states that:
> >  *
> >  *  a) The work must carry prominent notices stating that you modified
> >  *  it, and giving a relevant date.
> >  *
> >  * This software is distributed "AS IS", with ABSOLUTELY NO WARRANTY.
> >  * See the GPL for specific language governing rights and limitations.
> >  *
> >  * The Original code is the giza plotting library.
> >  *
> >  * Contributor(s):
> >  *      James Wetter <wetter.j>
> >  *      Daniel Price <daniel.price> (main contact)
> >  */
> 
> which is GPLv3, probably GPL-3.0-only in SPDX terms since there is no “or
> any later version” language, although it’s a slightly ambiguous notice.
> However, there is an unusual extra bit here:
> 
> > and the provision that this notice remains intact.
> 
> which probably needs to be reviewed in
> https://gitlab.com/fedora/legal/fedora-license-data/-/issues.
> 
> From https://github.com/danieljprice/giza/pull/69, upstream seems to have
> the impression that they can include GPL-licensed sources in a library and
> still call it LGPL overall. I don’t find this convincing, and would probably
> call it “LGPL-3.0-only AND GPL-3.0-only”, subject to review of the “and the
> provision that this notice remains intact” language. I see nothing that
> indicates a disjunctive choice of licenses, so I don’t think “LGPL-3.0-only
> or GPL-3.0-only” is correct.
> 
> The files src/*.pc.in have this license:
> 
> > # This file is free software; as a special exception the author gives
> > # unlimited permission to copy and/or distribute it, with or without
> > # modifications, as long as this notice is preserved.
> > #
> > # This file is distributed in the hope that it will be useful, but
> > # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
> > # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> which seems like a close enough match for FSFULLRWD,
> https://spdx.org/licenses/FSFULLRWD.html. Since the .pc files generated from
> these are installed in the -devel subpackage, the -devel subpackage should
> have a corresponding license term, like:
> 
> # .pc files are FSFULLRWD
> License: LGPL-3.0-only AND GPL-3.0-only AND FSFULLRWD

I have created a bug upstream asking the upstream developer Daniel t enter this discussion and I hope we can resolve any issues.

Comment 22 Phil Wyett 2025-11-20 11:21:07 UTC
(In reply to Phil Wyett from comment #21)
> (In reply to Ben Beasley from comment #20)
> > The license situation here is weird.
> > 
> > COPYING is GPLv3
> > 
> > COPYING.LESSER is LGPLv3
> > 
> > ChangeLog has:
> > 
> > > 2023-11-28  Daniel Price <daniel.price>
> > > 
> > >         * COPYING, LICENSE: changed license to LGPL3
> > 
> > And docs/index.html has:
> > 
> > > Giza is currently distributed under the <a href="https://www.gnu.org/licenses/lgpl-3.0.html">LGPL license</a>.
> > 
> > But all of the source file still have this header:
> > 
> > > /* giza - a scientific plotting library built on cairo
> > >  *
> > >  * Copyright (c) 2010      James Wetter and Daniel Price
> > >  * Copyright (c) 2010-2012 Daniel Price
> > >  *
> > >  * This library is free software; and you are welcome to redistribute
> > >  * it under the terms of the GNU General Public License
> > >  * (GPL, see LICENSE file for details) and the provision that
> > >  * this notice remains intact. If you modify this file, please
> > >  * note section 5a) of the GPLv3 states that:
> > >  *
> > >  *  a) The work must carry prominent notices stating that you modified
> > >  *  it, and giving a relevant date.
> > >  *
> > >  * This software is distributed "AS IS", with ABSOLUTELY NO WARRANTY.
> > >  * See the GPL for specific language governing rights and limitations.
> > >  *
> > >  * The Original code is the giza plotting library.
> > >  *
> > >  * Contributor(s):
> > >  *      James Wetter <wetter.j>
> > >  *      Daniel Price <daniel.price> (main contact)
> > >  */
> > 
> > which is GPLv3, probably GPL-3.0-only in SPDX terms since there is no “or
> > any later version” language, although it’s a slightly ambiguous notice.
> > However, there is an unusual extra bit here:
> > 
> > > and the provision that this notice remains intact.
> > 
> > which probably needs to be reviewed in
> > https://gitlab.com/fedora/legal/fedora-license-data/-/issues.
> > 
> > From https://github.com/danieljprice/giza/pull/69, upstream seems to have
> > the impression that they can include GPL-licensed sources in a library and
> > still call it LGPL overall. I don’t find this convincing, and would probably
> > call it “LGPL-3.0-only AND GPL-3.0-only”, subject to review of the “and the
> > provision that this notice remains intact” language. I see nothing that
> > indicates a disjunctive choice of licenses, so I don’t think “LGPL-3.0-only
> > or GPL-3.0-only” is correct.
> > 
> > The files src/*.pc.in have this license:
> > 
> > > # This file is free software; as a special exception the author gives
> > > # unlimited permission to copy and/or distribute it, with or without
> > > # modifications, as long as this notice is preserved.
> > > #
> > > # This file is distributed in the hope that it will be useful, but
> > > # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
> > > # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > 
> > which seems like a close enough match for FSFULLRWD,
> > https://spdx.org/licenses/FSFULLRWD.html. Since the .pc files generated from
> > these are installed in the -devel subpackage, the -devel subpackage should
> > have a corresponding license term, like:
> > 
> > # .pc files are FSFULLRWD
> > License: LGPL-3.0-only AND GPL-3.0-only AND FSFULLRWD
> 
> I have created a bug upstream asking the upstream developer Daniel t enter
> this discussion and I hope we can resolve any issues.

Link at:

https://github.com/danieljprice/giza/issues/76

Comment 23 Ben Beasley 2025-11-20 12:30:45 UTC
It looks like the submitter of the original review request is still working on it, https://bugzilla.redhat.com/show_bug.cgi?id=1187030#c66. Perhaps you could ask the reviewer in that bug what’s still required for approval. If the reviewer is no longer interested, you could even offer to take over the review.

I hope that a way can be found to get this package across the “finish line,” one way or another.

Comment 24 Phil Wyett 2025-11-20 23:15:07 UTC
(In reply to Ben Beasley from comment #23)
> It looks like the submitter of the original review request is still working
> on it, https://bugzilla.redhat.com/show_bug.cgi?id=1187030#c66. Perhaps you
> could ask the reviewer in that bug what’s still required for approval. If
> the reviewer is no longer interested, you could even offer to take over the
> review.
> 
> I hope that a way can be found to get this package across the “finish line,”
> one way or another.

To be honest, after reading the reply from the other review, I shall be pushing
forward with this submission.

Reasons:

* I plan to package splash that depends on giza.
* EPEL is the end goal for both packages.
* Requirement of high package quality.
* Responsive maintenance.

If the other developer wishes to co-maintain with me once in Fedora, I would
be happy to discuss it.

Regards

Phil

Comment 25 Phil Wyett 2025-11-21 11:38:14 UTC
Spec URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza.spec

SRPM URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza-1.5.0-1.el9.src.rpm

Added 'check' section.

I am hesitant to add a 'docs' package as there are a large amount of HTTP links. I will
add one if requested and I will comment in the spec file with a link to the upstream bug report.

Comment 27 Fedora Review Service 2025-11-22 03:02:04 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9826891
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09826891-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 28 Fedora Review Service 2025-11-22 03:02:26 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9826893
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09826893-giza/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 29 Phil Wyett 2025-11-22 12:18:53 UTC
Spec URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza.spec

SRPM URL: https://kathenas.fedorapeople.org/development/fedora/rawhide/for_review/giza-1.5.0-1.el9.src.rpm

Added 'docs' package for now. Doing pull requests upstream to rectify in a future release.

Regards

Phil

Comment 30 Fedora Review Service 2025-11-23 03:34:11 UTC
Created attachment 2115795 [details]
The .spec file difference from Copr build 9826893 to 9829842

Comment 31 Fedora Review Service 2025-11-23 03:34:13 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9829842
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414840-giza/fedora-rawhide-x86_64/09829842-giza/fedora-review/review.txt

Found issues:

- Documentation size is 1044504 bytes in 45 files. 
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_documentation

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.


Note You need to log in before you can comment on or make changes to this bug.