[Bug 528892] Review Request: mingw32-freeglut - Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=528892
Paulo Roma Cavalcanti <promac(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |fedora-review+
--- Comment #14 from Paulo Roma Cavalcanti <promac(a)gmail.com> 2009-10-18 08:32:24 EDT ---
I think I got it.
freeglut does not work when using a windows guest on a Fedora VirtualBox
(3.0.8) host, when 3D acceleration is ENABLED. Disabling 3D acceleration brings
everything back to normal, but depending on the application, it can become very
slow. It does not matter whether the application is cross-compiled or not.
In a native windows, freeglut works as long as glut 3.7 is out of the way.
This is my review:
rpmlint produces some warnings, but according to the mingw guidelines,
all of them are acceptable:
http://fedoraproject.org/wiki/Packaging/MinGW
rpmlint mingw32-freeglut
mingw32-freeglut.noarch: E: arch-independent-package-contains-binary-or-object
/usr/i686-pc-mingw32/sys-root/mingw/lib/libglut.dll.a
mingw32-freeglut.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/glut.h
mingw32-freeglut.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut_std.h
mingw32-freeglut.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut.h
mingw32-freeglut.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut_ext.h
mingw32-freeglut.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/lib/libglut.dll.a
mingw32-freeglut.noarch: W: spurious-executable-perm
/usr/i686-pc-mingw32/sys-root/mingw/lib/libglut.dll.a
mingw32-freeglut.noarch: W: non-standard-dir-in-usr i686-pc-mingw32
1 packages and 0 specfiles checked; 1 errors, 7 warnings.
--------------------------------------------------------------
1) Track Fedora native package versions
OK: 2.4.0 in F11 and 2.6.0 in F12
2) Follow Fedora policy
OK.
3) Package naming
Packages should be named by prefixing the upstream package name with
mingw32-
OK: Used mingw32-freeglut
4) Base packages
Not applicable.
5) Filenames of the cross-compilers and binutils
Not applicable.
6) Naming of the root filesystem
OK.
7) Standard mingw RPM macros
OK: Used the standard macros.
8) Dependencies
OK.
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
9) Build architecture
OK: noarch.
10) Libraries (DLLs)
OK: All libraries built as DLLs.
11) Do not use %{_mingw32_bindir}/* or %{_mingw32_libdir}/* in %files section
Not used.
12) Manpages and info files
None.
13) Static libraries
None.
14) Stripping
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
OK: both macros are present in the spec file.
Package approved.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 7 months
[Bug 528892] Review Request: mingw32-freeglut - Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=528892
--- Comment #13 from Paulo Roma Cavalcanti <promac(a)gmail.com> 2009-10-17 06:53:35 EDT ---
I agree with Stefan's revision.
I tested freeglut a lot, and it works for me linking with glut32, and I am not
sure why. Otherwise, the application does not display anything when run in
windows.
But I have mingw with gcc 3.4.2 installed on my windows box with some
additional packages, such as CGAL, which make it difficult for me to upgrade to
a newer mingw right now (CGAL requires a lot of other packages). Maybe this
cause some incompatibilities with the code generated in Fedora (gcc-4.3.2).
I also used mingw32-freeglut and a mingw32-glui, I packaged myself,
and it is also working just fine for cross-compiling opengl applications:
http://orion.lcg.ufrj.br/RPMS/src/mingw32-glui-2.35-1.fc10.src.rpm
I tried to package freglut 2.4.0, but there were so many errors that
I gave up.
Therefore, unless Richard has anything else to say, I believe it is better to
include mingw32-freeglut in Fedora the way it is, so people can cross-compile
and report any issues.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 7 months
[Bug 528892] Review Request: mingw32-freeglut - Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=528892
Stefan Riemens <fgfs.stefan(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fgfs.stefan(a)gmail.com
--- Comment #12 from Stefan Riemens <fgfs.stefan(a)gmail.com> 2009-10-16 16:22:59 EDT ---
Let's go for an informal review (I'm not sponsored yet):
+ OK
! needs attention
+ rpmlint is quiet
+ Package is named according to Fedora MinGW packaging guidelines
+ Specfile name matches the package base name
+ Package follows the Fedora MinGW packaging guidelines
+ The stated license (MIT) is a Fedora approved license
+ The stated license is the same as the one for the corresponding
Fedora package
+ The package contains the license file (COPYING)
+ Spec file is written in American English
+ Spec file is legible
+ Upstream sources match sources in the srpm
b1a8107f99b5d953e8418a5409462294 freeglut-2.6.0-rc1.tar.gz
b1a8107f99b5d953e8418a5409462294 freeglut-2.6.0-rc1.tar.gz
+ Package builds in mock (Fedora Rawhide i386)
koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=1750642
n/a ExcludeArch bugs filed
+ BuildRequires look sane
n/a The spec file MUST handle locales properly
n/a binary RPM with shared library files must call ldconfig in %post and
%postun
+ Does not use Prefix: /usr
+ Package owns all directories it creates
+ No duplicate files in %files
+ %files has %defattr
+ %clean contains rm -rf $RPM_BUILD_ROOT
+ Consistent use of macros
+ 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
n/a Static libraries should be in -static
n/a Packages containing pkgconfig (.pc) files need 'Requires: pkgconfig'
n/a Library files that end in .so must go in a -devel package
n/a -devel must require the fully versioned base
+ Packages should not contain libtool .la files (though mingw guidelines allow
them to be present)
n/a Packages containing GUI apps must include %{name}.desktop file
+ Packages must not own files or directories owned by other packages
+ %install begins with rm -rf $RPM_BUILD_ROOT
+ Filenames must be valid UTF-8
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 7 months