Bug 468376 (mingw32-SDL)

Summary: Review Request: mingw32-SDL - MinGW Windows port of SDL cross-platform multimedia library
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: Package ReviewAssignee: Adel Gadllah <adel.gadllah>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: adel.gadllah, berrange, fedora-package-review, notting
Target Milestone: ---Flags: adel.gadllah: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-21 21:28:36 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:
Bug Depends On: 454410, 467325, 478640    
Bug Blocks:    

Comment 2 Adel Gadllah 2009-01-07 12:26:50 UTC
REVIEW:

[+] = OK
[-] = NOT OK
[1] = SEE COMMENTS
[?] = WTF?

=============================

[+]	source files match upstream:
 sha1:  http://www.libsdl.org/release/SDL-1.2.13.tar.gz
[+]	package meets naming and versioning guidelines.
[+]	specfile is properly named, is cleanly written and uses macros consistently.
[+]	dist tag is present.
[+]	build root is correct.
[+]	license field matches the actual license.
[+]	license is open source-compatible.
		LGPLv2+
[-]	license text included in package.
[+]	latest version is being packaged.
[+]	BuildRequires are proper.
[+]	compiler flags are appropriate.
[+]	%clean is present.
[+]	package builds in koji:
		http://koji.fedoraproject.org/koji/taskinfo?taskID=1037809
[+]	package installs properly.
[1]	rpmlint is silent.
[+]	no shared libraries are added to the regular linker search paths.
[+]	owns the directories it creates.
[+]	doesn't own any directories it shouldn't.
[+]	no duplicates in %files.
[2]	file permissions are appropriate.
[+]	no scriptlets present.
[+]	code, not content.
[+]	documentation is small, so no -docs subpackage is necessary.
[+]	%docs are not necessary for the proper functioning of the package.
[3]	no headers.
[+]	no pkgconfig files.


================================

COMMENTS:

Please package the COPYING file.

[1]: no there are warings like this:

"mingw32-SDL.noarch: W: manpage-not-gzipped /usr/i686-pc-mingw32/sys-root/mingw/share/man/man3/SDL_SetColorKey.3"

Those can be fixed with a line like this:

find $RPM_BUILD_ROOT%{_mingw32_mandir}/man3/ -type f -not -name '*.gz' -print | xargs gzip -9f

"mingw32-SDL.noarch: E: arch-independent-package-contains-binary-or-object /usr/i686-pc-mingw32/sys-root/mingw/lib/libSDLmain.a"

Package used for cross-compiling so this is a non issue.

"mingw32-SDL.noarch: W: non-standard-dir-in-usr i686-pc-mingw32"

Used in all mingw32 packges.

"mingw32-SDL.noarch: W: spurious-executable-perm /usr/i686-pc-mingw32/sys-root/mingw/lib/libSDL.dll.a"

Why is this executeable ?

"mingw32-SDL.noarch: W: devel-file-in-non-devel-package /usr/i686-pc-mingw32/sys-root/mingw/include/SDL/SDL_events.h"

Fine, because package is only used for cross compiling.

[2]:
See comment in [1] regarding /usr/i686-pc-mingw32/sys-root/mingw/lib/libSDL.dll.a

[3]: 
Is OK, see comment in [1]

===================================

Package looks good, please fix the issues noted above and I will approve it.

Comment 3 Richard W.M. Jones 2009-01-13 12:43:35 UTC
> "mingw32-SDL.noarch: W: spurious-executable-perm
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libSDL.dll.a"
> 
> Why is this executable ?

See: https://bugzilla.redhat.com/show_bug.cgi?id=467397#c4

Here is an updated package which should fix everything else:

Spec URL: http://hg.et.redhat.com/cgi-bin/hg-misc.cgi/fedora-mingw--devel/file/tip/SDL/mingw32-SDL.spec
SRPM URL: http://www.annexia.org/tmp/mingw/fedora-10/src/SRPMS/mingw32-SDL-1.2.13-4.fc10.src.rpm

* Tue Jan 13 2009 Richard W.M. Jones <rjones> - 1.2.13-4
- Verify we are still up to date with Fedora release.
- Include COPYING in documentation.
- Build with dlfcn.
- List all BRs.
- No need to package the man pages, don't duplicate what's in the
  base Fedora package already.
- Requires pkgconfig.

Comment 4 Adel Gadllah 2009-01-13 19:44:35 UTC
Looks good now.

=> APPROVED

Comment 5 Adel Gadllah 2009-01-13 19:50:51 UTC
"- Build with dlfcn."  missed this one, removed the "+" for now until this package is in fedora.

Comment 6 Richard W.M. Jones 2009-01-16 11:41:46 UTC
dlfcn (bug 478640) has now been approved.

Comment 7 Adel Gadllah 2009-01-16 12:18:17 UTC
(In reply to comment #6)
> dlfcn (bug 478640) has now been approved.

I know, because I was the one who reviewed it ;)

Comment 8 Richard W.M. Jones 2009-01-16 12:42:22 UTC
New Package CVS Request
=======================
Package Name: mingw32-SDL
Short Description: MinGW Windows port of SDL cross-platform multimedia library
Owners: rjones berrange lfarkas
Branches: EL-5 F-10
InitialCC:

Comment 9 Kevin Fenzi 2009-01-17 03:19:51 UTC
cvs done.

Comment 10 Fedora Update System 2009-01-21 10:53:50 UTC
mingw32-SDL-1.2.13-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/mingw32-SDL-1.2.13-4.fc10

Comment 11 Fedora Update System 2009-01-21 21:28:33 UTC
mingw32-SDL-1.2.13-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.