Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
cd0148a5
Commit
cd0148a5
authored
Apr 29, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: update Qt4 to 4.8.1
cross.patch update by John Freed
parent
5ec3fe6b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
47 deletions
+28
-47
contrib/src/qt4/SHA512SUMS
contrib/src/qt4/SHA512SUMS
+1
-1
contrib/src/qt4/chroot.patch
contrib/src/qt4/chroot.patch
+2
-2
contrib/src/qt4/cross.patch
contrib/src/qt4/cross.patch
+14
-15
contrib/src/qt4/imageformats.patch
contrib/src/qt4/imageformats.patch
+2
-2
contrib/src/qt4/mingw32.patch
contrib/src/qt4/mingw32.patch
+0
-18
contrib/src/qt4/rules.mak
contrib/src/qt4/rules.mak
+7
-7
contrib/src/qt4/styles.patch
contrib/src/qt4/styles.patch
+2
-2
No files found.
contrib/src/qt4/SHA512SUMS
View file @
cd0148a5
8dcb7d2e9069205bd80eeecbeb62a6ab727f9e327cbfc03003fe4f1caea364771d3c7e3a12347644aef1c51898680c08693cc76e2950ea8f7487223404b6581c qt-4.7.4
.tar.gz
a48825a3d42c93c6d9d769d9f79b297d92b5deb9003c89c2d1f1b364b496fc6e7d307e0eb6b798ae49d7bf1928caeda6741025242499296550293518004c3d90 qt-4.8.1
.tar.gz
contrib/src/qt4/chroot.patch
View file @
cd0148a5
Fix build when using a 32-bit chroot with a x86_64 kernel
Fix build when using a 32-bit chroot with a x86_64 kernel
Native tools would be built with -m64
Native tools would be built with -m64
---
qt-everywhere-opensource-src-4.7.4/
configure.orig 2011-11-11 14:48:12.944666802 -0500
--- configure.orig 2011-11-11 14:48:12.944666802 -0500
+++
qt-everywhere-opensource-src-4.7.4/
configure 2011-11-11 14:48:55.108875882 -0500
+++ configure 2011-11-11 14:48:55.108875882 -0500
@@ -168,7 +168,7 @@
@@ -168,7 +168,7 @@
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
...
...
contrib/src/qt4/cross.patch
View file @
cd0148a5
---
qt-everywhere-opensource-src-4.7.4/
mkspecs/win32-g++/qmake.conf.orig 2011-09-28 14:32:02.709958498 -0400
--- mkspecs/win32-g++/qmake.conf.orig 2011-09-28 14:32:02.709958498 -0400
+++
qt-everywhere-opensource-src-4.7.4/
mkspecs/win32-g++/qmake.conf 2011-09-28 14:36:32.529954583 -0400
+++ mkspecs/win32-g++/qmake.conf 2011-09-28 14:36:32.529954583 -0400
@@ -14,7 +14,7 @@
@@ -14,7 +14,7 @@
QMAKE_EXT_OBJ = .o
QMAKE_EXT_OBJ = .o
QMAKE_EXT_RES = _res.o
QMAKE_EXT_RES = _res.o
...
@@ -42,22 +42,21 @@
...
@@ -42,22 +42,21 @@
+QMAKE_STRIP = $(XSTRIP)
+QMAKE_STRIP = $(XSTRIP)
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
load(qt_config)
load(qt_config)
---
qt-everywhere-opensource-src-4.7.4/
configure.orig 2011-11-10 18:48:29.351058392 -0500
--- configure.orig 2011-11-10 18:48:29.351058392 -0500
+++
qt-everywhere-opensource-src-4.7.4/
configure 2011-11-10 18:50:40.971711056 -0500
+++ configure 2011-11-10 18:50:40.971711056 -0500
@@ -
7767,6 +7767,7
@@
@@ -
8255,11 +8255,13
@@
fi
fi
# X11/Unix/Mac only configs
# X11/Unix/Mac only configs
+if [ "$XPLATFORM_MINGW" != "yes" ]; then
+if [ "$XPLATFORM_MINGW" != "yes" ]; then
[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
@@ -7807,6 +7808,8 @@
[ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
[ "$CFG_COREWLAN" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_COREWLAN"
-if [ "$XPLATFORM_SYMBIAN" = "no" ]; then
[ "$CFG_ICD" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICD"
- # Do not apply following negative X11/Unix/Mac only flags on Symbian, so that
+fi
+fi
+
+if [ "$XPLATFORM_SYMBIAN" = "no" -a "$XPLATFORM_MINGW" != "yes" ]; then
# sort QCONFIG_FLAGS for neatness if we can
+ # Do not apply following negative X11/Unix/Mac only flags on Symbian or MinGW, so that
[ '!' -z "$AWK" ] && QCONFIG_FLAGS=`echo $QCONFIG_FLAGS | $AWK '{ gsub(" ", "\n"); print }' | sort | uniq`
# configuration matches with the one generated by configure executable tool
QCONFIG_FLAGS=`echo $QCONFIG_FLAGS`
[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
[ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"
contrib/src/qt4/imageformats.patch
View file @
cd0148a5
---
qt-everywhere-opensource-src-4.7.4/
src/plugins/imageformats/imageformats.pro.orig 2011-11-10 18:56:04.617315921 -0500
--- src/plugins/imageformats/imageformats.pro.orig 2011-11-10 18:56:04.617315921 -0500
+++
qt-everywhere-opensource-src-4.7.4/
src/plugins/imageformats/imageformats.pro 2011-11-10 18:56:39.269487754 -0500
+++ src/plugins/imageformats/imageformats.pro 2011-11-10 18:56:39.269487754 -0500
@@ -1,8 +1,8 @@
@@ -1,8 +1,8 @@
TEMPLATE = subdirs
TEMPLATE = subdirs
...
...
contrib/src/qt4/mingw32.patch
deleted
100644 → 0
View file @
5ec3fe6b
Remove me after qt4 4.8.0
--- qt-everywhere-opensource-src-4.7.4.orig/src/corelib/tools/qlocale.cpp 2012-01-19 23:34:18.000000000 +0100
+++ qt-everywhere-opensource-src-4.7.4/src/corelib/tools/qlocale.cpp 2012-01-19 23:37:41.000000000 +0100
@@ -6614,6 +6614,14 @@
* calculation.
*/
+#if defined(Q_OS_WIN) && defined (Q_CC_GNU) && !defined(_clear87) // See QTBUG-7576
+extern "C" {
+__attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _control87 (unsigned int unNew, unsigned int unMask);
+__attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _clearfp (void); /* Clear the FPU status word */
+# define _clear87 _clearfp
+}
+#endif
+
/* This actually sometimes returns a pointer to a string literal
cast to a char*. Do NOT try to modify the return value. */
contrib/src/qt4/rules.mak
View file @
cd0148a5
# qt4
# qt4
QT4_VERSION
=
4.
7.4
QT4_VERSION
=
4.
8.1
QT4_URL
:=
http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-
$(QT4_VERSION)
.tar.gz
QT4_URL
:=
http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-
$(QT4_VERSION)
.tar.gz
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
...
@@ -21,12 +21,12 @@ $(TARBALLS)/qt-$(QT4_VERSION).tar.gz:
...
@@ -21,12 +21,12 @@ $(TARBALLS)/qt-$(QT4_VERSION).tar.gz:
qt4
:
qt-$(QT4_VERSION).tar.gz .sum-qt4
qt4
:
qt-$(QT4_VERSION).tar.gz .sum-qt4
$(UNPACK)
$(UNPACK)
patch
-p0
<
$(SRC)
/qt4/cross.patch
cd
qt-everywhere-opensource-src-
$(QT4_VERSION)
&&
\
patch
-p0
<
$(SRC)
/qt4/styles.patch
patch
-p0
< ../
$(SRC)
/qt4/cross.patch
&&
\
patch
-p0
<
$(SRC)
/qt4/chroot.patch
patch
-p0
< ../
$(SRC)
/qt4/styles.patch
&&
\
patch
-p0
<
$(SRC)
/qt4/imageformats.patch
patch
-p0
< ../
$(SRC)
/qt4/chroot.patch
&&
\
patch
-p0
<
$(SRC)
/qt4/mingw32
.patch
patch
-p0
< ../
$(SRC)
/qt4/imageformats
.patch
mv
qt-everywhere-opensource-src-
4.7.4
$@
&&
touch
$@
mv
qt-everywhere-opensource-src-
$(QT4_VERSION)
$@
&&
touch
$@
XTOOLS
:=
XCC
=
"
$(CC)
"
XCXX
=
"
$(CXX)
"
XSTRIP
=
"
$(STRIP)
"
XAR
=
"
$(AR)
"
XTOOLS
:=
XCC
=
"
$(CC)
"
XCXX
=
"
$(CXX)
"
XSTRIP
=
"
$(STRIP)
"
XAR
=
"
$(AR)
"
...
...
contrib/src/qt4/styles.patch
View file @
cd0148a5
---
qt-everywhere-opensource-src-4.7.4/
configure.orig 2011-11-10 17:44:02.427883340 -0500
--- configure.orig 2011-11-10 17:44:02.427883340 -0500
+++
qt-everywhere-opensource-src-4.7.4/
configure 2011-11-10 17:44:13.915940309 -0500
+++ configure 2011-11-10 17:44:13.915940309 -0500
@@ -584,7 +584,7 @@
@@ -584,7 +584,7 @@
rm -f "$outpath/config.tests/.qmake.cache"
rm -f "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment