[Bug 870455] cmake FindQt4 cannot find MinGW qconfig.pri
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=870455
--- Comment #8 from Erik van Pienbroek <erik-fedora(a)vanpienbroek.nl> ---
The Fedora MinGW SIG recommends to use the mingw32-cmake / mingw64-cmake
wrappers to call CMake with the proper environment set. Internally these
wrappers call this RPM macro:
%mingw32_cmake %{mingw32_env} ; \
if test -f CMakeLists.txt; then __mingw32_topdir=.; \\\
elif test -f ../CMakeLists.txt; then __mingw32_topdir=..; \\\
else __mingw32_topdir=""; fi; \\\
PATH=%{_prefix}/%{mingw32_target}/bin:$PATH %__cmake \\\
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
-DCMAKE_INSTALL_PREFIX:PATH=%{mingw32_prefix} \\\
-DCMAKE_INSTALL_LIBDIR:PATH=%{mingw32_libdir} \\\
-DINCLUDE_INSTALL_DIR:PATH=%{mingw32_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{mingw32_libdir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{mingw32_sysconfdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{mingw32_datadir} \\\
%{?_cmake_skip_rpath} \\\
-DBUILD_SHARED_LIBS:BOOL=ON \\\
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/Toolchain-mingw32.cmake \\\
${MINGW_CMAKE_ARGS} \\\
${MINGW32_CMAKE_ARGS} \\\
"$@" $__mingw32_topdir
If I understand the discussion above correctly then the QT_BINARY_DIR which is
set in Toolchain-mingw32.cmake / Toolchain-mingw64.cmake is redundant and
should be removed. I just tried to remove it from the toolchain file, but doing
so causes mingw32-cmake to not be able to detect to qt tools (like moc and rcc)
any more.
I think this is because QT_BINARY_DIR will be set to
/usr/i686-w64-mingw32/sys-root/mingw/bin internally by CMake. However, this
path only contains cross-compiled binaries. The native binaries belonging to
the cross-compiled Qt are in /usr/i686-w64-mingw32/bin (we don't want to mix
native and cross-compiled binaries in the same folder).
In the FindQt4.cmake file there's this snippet of code:
# ask qmake for the binary dir
IF (NOT QT_BINARY_DIR OR QT_QMAKE_CHANGED)
_qt4_query_qmake(QT_INSTALL_BINS qt_bins)
SET(QT_BINARY_DIR ${qt_bins} CACHE INTERNAL "" FORCE)
ENDIF (NOT QT_BINARY_DIR OR QT_QMAKE_CHANGED)
The qmake variable QT_INSTALL_BINS is used by Qt's build system to determine
where the (cross-)compiled binaries will be installed. I could try hack up the
mingw-qt package so that QT_INSTALL_BINS points to /usr/i686-w64-mingw32/bin
instead of /usr/i686-w64-mingw32/sys-root/mingw/bin but that isn't the most
elegant solution and I'm not sure what else will break because of this..
All qmake mkspecs profiles contain variables like QMAKE_MOC which points to the
full path where the moc binary is installed. Ideally CMake should be able to
use these variables instead of only searching for $QT_INSTALL_BINS/moc or
$PATH/moc. Unfortunately these value for these variables can't be extracted
with 'qmake-qt4 -query' so I guess a different solution should be searched..
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 5 months
[Bug 872753] CVE-2012-4190 freetype: memory corruption and application crash (reported against firefox on android)
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=872753
Huzaifa S. Sidhpurwala <huzaifas(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Whiteboard|impact=important,public=201 |impact=important,public=201
|21011,reported=20121012,sou |21011,reported=20121012,sou
|rce=cve,cvss2=6.8/AV:N/AC:M |rce=cve,cvss2=6.8/AV:N/AC:M
|/Au:N/C:P/I:P/A:P,rhel-5/fr |/Au:N/C:P/I:P/A:P,rhel-5/fr
|eetype=new,rhel-6/freetype= |eetype=notaffected,rhel-6/f
|new,fedora-all/freetype=new |reetype=notaffected,fedora-
|,fedora-all/mingw32-freetyp |all/freetype=notaffected,fe
|e=new |dora-all/mingw32-freetype=n
| |otaffected
--- Comment #3 from Huzaifa S. Sidhpurwala <huzaifas(a)redhat.com> ---
Hi Behdad,
Agreed, thanks for looking into this though :)
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 5 months
Broken dependencies: mingw32-libpng
by Fedora Koji Build System
mingw32-libpng has broken dependencies in the epel-6 tree:
On ppc64:
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(msvcrt.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(zlib1.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(kernel32.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-filesystem >= 0:63
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-runtime
Please resolve this as soon as possible.
11 years, 5 months
Broken dependencies: mingw32-libpng
by Fedora Koji Build System
mingw32-libpng has broken dependencies in the epel-6 tree:
On ppc64:
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(msvcrt.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(zlib1.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32(kernel32.dll)
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-filesystem >= 0:63
mingw32-libpng-1.2.37-3.el6.noarch requires mingw32-runtime
Please resolve this as soon as possible.
11 years, 5 months
Version Discrepancy Report
by Michael Cronenworth
------------------------------------------
MinGW/native package version discrepancies
------------------------------------------
Fedora N Matches Found: 43
Fedora Rawhide Matches Found: 42
+-------------------------------+
| f18 | rawhide |
+-----------------------+---------------+---------------+
| binutils | 2.23.51.0.1 | 2.23.51.0.3 |
| mingw-binutils | 2.22.52.0.4 | 2.22.52.0.4 |
+-----------------------+---------------+---------------+
| boost | 1.50.0 | 1.50.0 |
| mingw-boost | 1.48.0 | 1.48.0 |
+-----------------------+---------------+---------------+
| cairo | 1.12.4 | |
| mingw-cairo | 1.10.2 | |
+-----------------------+---------------+---------------+
| curl | 7.27.0 | 7.28.0 |
| mingw-curl | 7.25.0 | 7.25.0 |
+-----------------------+---------------+---------------+
| dbus | 1.6.8 | 1.6.8 |
| mingw-dbus | 1.6.4 | 1.6.4 |
+-----------------------+---------------+---------------+
| gdb | 7.5.0.20120926 | 7.5.0.20120926 |
| mingw-gdb | 7.5 | 7.5 |
+-----------------------+---------------+---------------+
| gdbm | 1.10 | 1.10 |
| mingw-gdbm | 1.8.0 | 1.8.0 |
+-----------------------+---------------+---------------+
| glib-networking | 2.34.0 | 2.34.0 |
| mingw-glib-networking | 2.32.1 | 2.32.1 |
+-----------------------+---------------+---------------+
| glibmm24 | 2.33.14 | 2.33.14 |
| mingw-glibmm24 | 2.32.1 | 2.32.1 |
+-----------------------+---------------+---------------+
| gtkhtml3 | 4.5.91 | 4.5.91 |
| mingw-gtkhtml3 | 4.4.0 | 4.4.0 |
+-----------------------+---------------+---------------+
| gtkmm30 | 3.5.13 | 3.5.13 |
| mingw-gtkmm30 | 3.4.0 | 3.4.0 |
+-----------------------+---------------+---------------+
| gtksourceview3 | 3.6.0 | 3.6.0 |
| mingw-gtksourceview3 | 3.4.1 | 3.4.1 |
+-----------------------+---------------+---------------+
| harfbuzz | 0.9.4 | 0.9.5 |
| mingw-harfbuzz | 0.9.3 | 0.9.3 |
+-----------------------+---------------+---------------+
| icu | 49.1.1 | 49.1.1 |
| mingw-icu | 4.8.1.1 | 4.8.1.1 |
+-----------------------+---------------+---------------+
| libffi | 3.0.10 | 3.0.10 |
| mingw-libffi | 3.0.11 | 3.0.11 |
+-----------------------+---------------+---------------+
| libgeotiff | 1.2.5 | 1.2.5 |
| mingw-libgeotiff | 1.3.0 | 1.3.0 |
+-----------------------+---------------+---------------+
| libsigc++20 | 2.2.11 | 2.2.11 |
| mingw-libsigc++20 | 2.2.10 | 2.2.10 |
+-----------------------+---------------+---------------+
| libsigsegv | 2.10 | 2.10 |
| mingw-libsigsegv | 2.6 | 2.6 |
+-----------------------+---------------+---------------+
| libssh2 | 1.4.2 | 1.4.2 |
| mingw-libssh2 | 1.1 | 1.1 |
+-----------------------+---------------+---------------+
| libtiff | 4.0.3 | 4.0.3 |
| mingw-libtiff | 4.0.2 | 4.0.2 |
+-----------------------+---------------+---------------+
| libusbx | 1.0.14 | 1.0.14 |
| mingw-libusbx | 1.0.11 | 1.0.11 |
+-----------------------+---------------+---------------+
| libvirt-glib | 0.1.3 | 0.1.3 |
| mingw-libvirt-glib | 0.1.2 | 0.1.2 |
+-----------------------+---------------+---------------+
| libxml++ | 2.35.4 | 2.35.4 |
| mingw-libxml++ | 2.34.2 | 2.34.2 |
+-----------------------+---------------+---------------+
| libxml2 | 2.9.0 | |
| mingw-libxml2 | 2.8.0 | |
+-----------------------+---------------+---------------+
| libxslt | 1.1.26 | |
| mingw-libxslt | 1.1.27 | |
+-----------------------+---------------+---------------+
| libzip | 0.10.1 | 0.10.1 |
| mingw-libzip | 0.9 | 0.9 |
+-----------------------+---------------+---------------+
| llvm | 3.1 | 3.1 |
| mingw-llvm | 3.0 | 3.0 |
+-----------------------+---------------+---------------+
| matahari | 0.6.0 | 0.6.0 |
| mingw-matahari | 0.5.0 | 0.5.0 |
+-----------------------+---------------+---------------+
| openjpeg | 1.5.0 | 1.5.1 |
| mingw-openjpeg | 1.3 | 1.3 |
+-----------------------+---------------+---------------+
| openssl | 1.0.1c | 1.0.1c |
| mingw-openssl | 1.0.0d | 1.0.0d |
+-----------------------+---------------+---------------+
| p11-kit | 0.14 | 0.14 |
| mingw-p11-kit | 0.13 | 0.13 |
+-----------------------+---------------+---------------+
| pcre | 8.31 | 8.31 |
| mingw-pcre | 8.30 | 8.30 |
+-----------------------+---------------+---------------+
| pixman | 0.26.2 | 0.27.4 |
| mingw-pixman | 0.24.4 | 0.24.4 |
+-----------------------+---------------+---------------+
| proj | 4.8.0 | 4.8.0 |
| mingw-proj | 4.6.1 | 4.6.1 |
+-----------------------+---------------+---------------+
| qpid-cpp | 0.18 | 0.18 |
| mingw-qpid-cpp | 0.14 | 0.14 |
+-----------------------+---------------+---------------+
| readline | 6.2 | 6.2 |
| mingw-readline | 5.2 | 5.2 |
+-----------------------+---------------+---------------+
| spice-gtk | 0.14 | 0.14 |
| mingw-spice-gtk | 0.12 | 0.12 |
+-----------------------+---------------+---------------+
| spice-protocol | 0.12.2 | 0.12.2 |
| mingw-spice-protocol | 0.8.0 | 0.8.0 |
+-----------------------+---------------+---------------+
| sqlite | 3.7.13 | 3.7.14 |
| mingw-sqlite | 3.7.9 | 3.7.9 |
+-----------------------+---------------+---------------+
| tcl | 8.5.12 | 8.5.12 |
| mingw-tcl | 8.5.11 | 8.5.11 |
+-----------------------+---------------+---------------+
| tk | 8.5.12 | 8.5.12 |
| mingw-tk | 8.5.9 | 8.5.9 |
+-----------------------+---------------+---------------+
| webkitgtk | 1.10.0 | |
| mingw-webkitgtk | 1.10.1 | |
+-----------------------+---------------+---------------+
| zlib | 1.2.7 | 1.2.7 |
| mingw-zlib | 1.2.5 | 1.2.5 |
+-----------------------+---------------+---------------+
11 years, 5 months