[Bug 2213078] Review Request: goldendict-ng - The Next Generation GoldenDict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2213078

Felix Wang <topazus@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(topazus@outlook.c |
                   |om)                         |



--- Comment #5 from Felix Wang <topazus@xxxxxxxxxxx> ---
Thanks for your clear and detailed comments on the package review.

> - Package conflicts with files from goldendict but doesn't specify a Conflicts tag. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Conflicts/ for details on the process.

Done.

> issues about license and bundled of JavaScript libraries

Many thanks for the extensive clarification of JavaScript libraries licensing
and their bundled things. 
Accutually, I am not familiar with these things. I've updated the spec file
accordingly, hope they are correct now.

> - Package uses an ExclusiveArch tag for reasons related to qt6-webengine, this is permissible from my perspective but the approach mentioned in the referenced specfile could be used (BuildRequires qt6-srpm-macros and use %qt6_qtwebengine_arches macro). Your call.

%qt6_qtwebengine_arches macro includes the %{ix86} architecure, which is not
supported by qt6-webengine, so I use `ExclusiveArch: aarch64 x86_64` to
explicitly set the supported architectures.

Ref: https://src.fedoraproject.org/rpms/qt6/blob/rawhide/f/macros.qt6-srpm#_8

>- CMake uses pkg-config to identify the library devel packages to install. The spec file should therefor express library >dependencies in that way: https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/
>  This has the added benefit that the package will build even when the user has ffmpeg installed through a third-party >repository, which may conflict with ffmpeg-free-devel.

I converted most of the dependencies to the corresponding pkgconfig() or
cmake() format, but I do not find a way to how to use pkgconfig() to express
the dependency of ffmpeg-free-devel.

> - rpmlint warning: unused-direct-shlib-dependency could be fixed by patching the CMake files to pass the as-needed flag for the fmt library, see https://stackoverflow.com/a/65819681 (this patch should be suggested upstream)

The --as-needed flag already has been added to LDFLAGS by default. I do not
have any idea about how to fix this warning.

Ref: https://fedoraproject.org/wiki/Changes/RemoveExcessiveLinking

(In reply to shenlebantongying from comment #4)
> >   - qtsingleapplication
> >    - No justification given in spec file
> 
> The upstream made incompatible changes to the lib; thus have to use the
> bundled one :)

Here is the comment from the maintainer of the upstream project, so I set the
qtsingleapplication dependency as bundled.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2213078

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202213078%23c5
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux