Bug 701112 (mingw32-wxWidgets)
Summary: | Review Request: mingw-wxWidgets - C++ cross-platform GUI library | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Sailer <fedora> |
Component: | Package Review | Assignee: | Kalev Lember <kalevlember> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-mingw, fedora-package-review, kalevlember, michael.ansel, notting |
Target Milestone: | --- | Flags: | kalevlember:
fedora-review+
j: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mingw-wxWidgets-2.8.12-3.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-30 22:27:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Sailer
2011-05-01 09:34:35 UTC
*** Bug 522199 has been marked as a duplicate of this bug. *** Taking for review. - There are a bunch of %defines just above the %build section that duplicate the %globals at the top of the file. - The package isn't building the -debuginfo subpackage. - There's a new 2.8.12 release available; can you update to it? - The BuildRoot tag, the whole %clean section, the 'rm -rf $RPM_BUILD_ROOT' at the beginning of %install, and the %deffattr lines are no longer required on current Fedora releases. - It BuildRequires the mingw32-libpng package, but the configure script doesn't seem to like the png library: configure: WARNING: system png library not found or too old, will use built-in instead I've updated the package according to your requests: http://people.fedoraproject.org/~sailer/mingw32-wxWidgets-2.8.12-1.fc14.src.rpm http://people.fedoraproject.org/~sailer/mingw32-wxWidgets.spec The reason for the png issue was that wxWidgets tries to link with -lpng. While our mingw32-libpng package contains a libpng.la file, it neither contains libpng.a nor libpng.dll.a. This seems strange to me. Anyway, I fixed it by patching configure to link against -lpng14. Scratch Build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3049917 The rpmlint messages: $ rpmlint mingw32-wxWidgets-* mingw32-wxWidgets.noarch: W: no-documentation mingw32-wxWidgets-debuginfo.noarch: E: debuginfo-without-sources mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_core-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_baseu-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_richtext-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_qa-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_baseu_net-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwxregexu-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_adv-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_baseu_xml-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_xrc-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_html-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libwx_mswu_aui-2.8-i686-pc-mingw32.a mingw32-wxWidgets-static.noarch: W: no-documentation 4 packages and 0 specfiles checked; 12 errors, 2 warnings. Fedora review mingw32-wxWidgets-2.8.12-1.fc14.src.rpm 2011-05-05 + OK ! needs attention + rpmlint output + The package is named according to Fedora MinGW packaging guidelines + The spec file name matches the package base name + The package meets the Packaging Guidelines + The package is licensed with a Fedora approved license and meets the Licensing Guidelines. + The license field in the spec file matches the actual license + The stated license is the same as the one for the corresponding native Fedora package ! The package doesn't contain the license file + Spec file is written in American English + Spec file is legible + Upstream sources match sources in the srpm. md5sum: 2fa39da14bc06ea86fe902579fedc5b1 wxWidgets-2.8.12.tar.gz 2fa39da14bc06ea86fe902579fedc5b1 Download/wxWidgets-2.8.12.tar.gz + The package builds in koji n/a ExcludeArch bugs filed + BuildRequires look sane n/a The spec file MUST handle locales properly n/a ldconfig in %post and %postun + Package does not bundle copies of system libraries n/a Package isn't relocatable + Package owns all directories it creates + No duplicate files in %files + Permissions are properly set + Consistent use of macros + The package must contain code or permissible content n/a Large documentation files should go in -doc subpackage + Files marked %doc should not affect package n/a Header files should be in -devel Fedora MinGW guidelines allow headers in main package + Static libraries should be in -static n/a Library files that end in .so must go in a -devel package n/a -devel must require the fully versioned base n/a Packages should not contain libtool .la files Fedora MinGW guidelines allow .la files n/a Packages containing GUI apps must include %{name}.desktop file + Directory ownership sane + Filenames are valid UTF-8 Issues: ! The binary rpm doesn't contain any license files, although they are shipped in the upstream tarball. Can you also move the _mingw32_debug_package macro so it'd be right before the %prep section? This is far from a blocker, but the way it currently is breaks 'spectool -g'. Ok, thanks for the review! I've added the license files and moved _mingw32_debug_package to the more logical place you suggested. New files (now on another location as fedorapeople is down): http://www.baycom.org/~tom/fedora/mingw32-wxWidgets-2.8.12-2.fc14.src.rpm http://www.baycom.org/~tom/fedora/mingw32-wxWidgets.spec Looks good. APPROVED Thanks! New Package SCM Request ======================= Package Name: mingw32-wxWidgets Short Description: MinGW port of the wxWidgets GUI library Owners: sailer kalev Branches: f14 f15 Wait until https://fedorahosted.org/fpc/ticket/83 is resolved New Package SCM Request ======================= Package Name: mingw-wxWidgets Short Description: MinGW port of the wxWidgets GUI library Owners: sailer kalev Branches: f14 f15 Git done (by process-git-requests). mingw-wxWidgets-2.8.12-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mingw-wxWidgets-2.8.12-3.fc14 mingw-wxWidgets-2.8.12-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mingw-wxWidgets-2.8.12-3.fc15 mingw-wxWidgets-2.8.12-3.fc14 has been pushed to the Fedora 14 testing repository. mingw-wxWidgets-2.8.12-3.fc15 has been pushed to the Fedora 15 stable repository. mingw-wxWidgets-2.8.12-3.fc14 has been pushed to the Fedora 14 stable repository. |