Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d61d6f83
Commit
d61d6f83
authored
Mar 11, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: qt: Qt 5.2.1
parent
5c03166a
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
103 additions
and
88 deletions
+103
-88
contrib/src/qt/Qt5Core.pc.in
contrib/src/qt/Qt5Core.pc.in
+10
-0
contrib/src/qt/Qt5Gui.pc.in
contrib/src/qt/Qt5Gui.pc.in
+10
-0
contrib/src/qt/Qt5Widgets.pc.in
contrib/src/qt/Qt5Widgets.pc.in
+10
-0
contrib/src/qt/SHA512SUMS
contrib/src/qt/SHA512SUMS
+1
-0
contrib/src/qt/fix_header.sh
contrib/src/qt/fix_header.sh
+0
-0
contrib/src/qt/rules.mak
contrib/src/qt/rules.mak
+72
-0
contrib/src/qt4/QtCore.pc.in
contrib/src/qt4/QtCore.pc.in
+0
-10
contrib/src/qt4/QtGui.pc.in
contrib/src/qt4/QtGui.pc.in
+0
-10
contrib/src/qt4/SHA512SUMS
contrib/src/qt4/SHA512SUMS
+0
-1
contrib/src/qt4/chroot.patch
contrib/src/qt4/chroot.patch
+0
-13
contrib/src/qt4/cross.patch
contrib/src/qt4/cross.patch
+0
-18
contrib/src/qt4/imageformats.patch
contrib/src/qt4/imageformats.patch
+0
-14
contrib/src/qt4/styles.patch
contrib/src/qt4/styles.patch
+0
-11
contrib/src/qt4/win64.patch
contrib/src/qt4/win64.patch
+0
-11
No files found.
contrib/src/qt/Qt5Core.pc.in
0 → 100644
View file @
d61d6f83
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt5/QtCore
Name: Qt5core
Description: Qt5core Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lQt5Core -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt5 -I${includedir}
contrib/src/qt/Qt5Gui.pc.in
0 → 100644
View file @
d61d6f83
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt5/QtGui
Name: Qt5gui
Description: Qt5gui Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lQt5Gui -lQt5Core -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt5 -I${includedir}
contrib/src/qt/Qt5Widgets.pc.in
0 → 100644
View file @
d61d6f83
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt5/QtWidgets
Name: Qt5widgets
Description: Qt5widgets Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lqwindows -lqtaccessiblewidgets -lQt5Widgets -lQt5Gui -lQt5Core -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt5 -I${includedir}
contrib/src/qt/SHA512SUMS
0 → 100644
View file @
d61d6f83
72ef00e9828bf19b2a3daca1c0fa6b0f458c4847da79d4066c818526b8dac504fa4c54496b5d6c67dbea4e786bd811ee8f87614146e684a117d9b86df580e07d qt-5.2.1.tar.xz
contrib/src/qt
4
/fix_header.sh
→
contrib/src/qt/fix_header.sh
View file @
d61d6f83
File moved
contrib/src/qt
4
/rules.mak
→
contrib/src/qt/rules.mak
View file @
d61d6f83
# qt
4
# qt
QT
4_VERSION
=
4.8.5
QT
_VERSION
=
5.2.1
QT
4_URL
:=
http://download.qt-project.org/official_releases/qt/4.8/
$(QT4_VERSION)
/qt-everywhere-opensource-src-
$(QT4_VERSION)
.tar.g
z
QT
_URL
:=
http://download.qt-project.org/official_releases/qt/5.2/
$(QT_VERSION)
/submodules/qtbase-opensource-src-
$(QT_VERSION)
.tar.x
z
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
#PKGS += qt
4
#PKGS += qt
endif
endif
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
PKGS
+=
qt
4
PKGS
+=
qt
endif
endif
ifeq
($(call need_pkg,"QtCore QtGui"),)
ifeq
($(call need_pkg,"QtCore QtGui"),)
PKGS_FOUND
+=
qt4
ifeq
($(call need_pkg,"Qt5Core Qt5Gui Qt5Widgets"),)
PKGS_FOUND
+=
qt
endif
endif
endif
$(TARBALLS)/qt-$(QT
4_VERSION).tar.g
z
:
$(TARBALLS)/qt-$(QT
_VERSION).tar.x
z
:
$(
call
download,
$(QT
4
_URL)
)
$(
call
download,
$(QT_URL)
)
.sum-qt
4
:
qt-$(QT4_VERSION).tar.g
z
.sum-qt
:
qt-$(QT_VERSION).tar.x
z
qt
4
:
qt-$(QT4_VERSION).tar.gz .sum-qt4
qt
:
qt-$(QT_VERSION).tar.xz .sum-qt
$(UNPACK)
$(UNPACK)
mv
qt-everywhere-opensource-src-
$(QT4_VERSION)
qt-
$(QT4_VERSION)
mv
qtbase-opensource-src-
$(QT_VERSION)
qt-
$(QT_VERSION)
$(APPLY)
$(SRC)
/qt4/cross.patch
$(APPLY)
$(SRC)
/qt4/styles.patch
$(APPLY)
$(SRC)
/qt4/chroot.patch
$(APPLY)
$(SRC)
/qt4/imageformats.patch
$(APPLY)
$(SRC)
/qt4/win64.patch
$(MOVE)
$(MOVE)
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
...
@@ -36,36 +33,36 @@ ifdef HAVE_WIN32
...
@@ -36,36 +33,36 @@ ifdef HAVE_WIN32
QT_PLATFORM
:=
-xplatform
win32-g++
-device-option
CROSS_COMPILE
=
$(HOST)
-
QT_PLATFORM
:=
-xplatform
win32-g++
-device-option
CROSS_COMPILE
=
$(HOST)
-
endif
endif
.qt
4
:
qt4
.qt
:
qt
cd
$<
&&
./configure
$(QT_PLATFORM)
-static
-release
-
fast
-no-exceptions
-no-stl
-no-sql-sqlite
-no-qt3support
-no-gif
-no-libmng
-qt-libjpeg
-no-libtiff
-no-qdbus
-no-openssl
-no-webkit
-sse
-no-script
-no-multimedia
-no-phonon
-opensource
-no-scripttools
-no-opengl
-no-script
-no-scripttools
-no-declarative
-no-declarative-debug
-opensource
-no-s60
-host-little-endian
-confirm-license
cd
$<
&&
./configure
$(QT_PLATFORM)
-static
-release
-
no-sql-sqlite
-no-gif
-qt-libjpeg
-no-openssl
-no-opengl
-opensource
-confirm-license
cd
$<
&&
$(MAKE)
sub-src
cd
$<
&&
$(MAKE)
sub-src
# BUILDING QT BUILD TOOLS
# BUILDING QT BUILD TOOLS
ifdef
HAVE_CROSS_COMPILE
ifdef
HAVE_CROSS_COMPILE
cd
$<
/src/tools
;
$(MAKE)
clean
;
\
cd
$<
/src/tools
;
$(MAKE)
clean
;
\
for
i
in
bootstrap uic rcc moc
;
\
for
i
in
bootstrap uic rcc moc
;
\
do
(
cd
$$
i
;
../../../bin/qmake
)
;
\
do
(
cd
$$
i
;
../../../bin/qmake
;
$(MAKE)
clean
;
$(MAKE)
)
;
\
done
;
\
done
../../../bin/qmake
;
\
$(MAKE)
endif
endif
# INSTALLING LIBRARIES
# INSTALLING LIBRARIES
for
lib
in
QtGui QtCore QtNetwork QtXml
;
\
for
lib
in
Widgets Gui Core
;
\
do
install
-D
--
$<
/lib/lib
$
${lib}
.a
"
$(PREFIX)
/lib/lib
$
${lib}
.a"
;
\
do
install
-D
--
$<
/lib/lib
Qt5
$
${lib}
.a
"
$(PREFIX)
/lib/libQt5
$
${lib}
.a"
;
\
done
done
# INSTALLING PLUGINS
# INSTALLING PLUGINS
install
-D
--
$<
/plugins/
imageformats/libqjpeg.a
"
$(PREFIX)
/lib/libqjpeg
.a"
install
-D
--
$<
/plugins/
platforms/libqwindows.a
"
$(PREFIX)
/lib/libqwindows
.a"
install
-D
--
$<
/plugins/accessible/libqtaccessiblewidgets.a
"
$(PREFIX)
/lib/libqtaccessiblewidgets.a"
install
-D
--
$<
/plugins/accessible/libqtaccessiblewidgets.a
"
$(PREFIX)
/lib/libqtaccessiblewidgets.a"
# INSTALLING HEADERS
# INSTALLING HEADERS
for
h
in
corelib gui
xml network
;
\
for
h
in
corelib gui
widgets
;
\
do
(
cd
$<
/src/
$
${h}
&&
find
.
-type
f
-name
'*.h'
-exec
install
-D
--
"{}"
"
$(PREFIX)
/include/qt
4
/src/
$
${h}
/{}"
\;
)
;
\
do
(
cd
$<
/src/
$
${h}
&&
find
.
-type
f
-name
'*.h'
-exec
install
-D
--
"{}"
"
$(PREFIX)
/include/qt
5
/src/
$
${h}
/{}"
\;
)
;
\
done
done
for
h
in
Core Gui
Xml Network
;
\
for
h
in
Core Gui
Widgets
;
\
do
(
cd
$<
/include/Qt
$
${h}
&&
find
.
-maxdepth
1
-type
f
\(
-name
'*.h'
-o
-name
'Q*'
\)
-exec
install
-D
-s
--strip-program
=
"
$(
abspath
$(SRC)
/qt
4/fix_header.sh
)
"
--
"{}"
"
$(PREFIX)
/include/qt4
/Qt
$
${h}
/{}"
\;
)
;
\
do
(
cd
$<
/include/Qt
$
${h}
&&
find
.
-maxdepth
1
-type
f
\(
-name
'*.h'
-o
-name
'Q*'
\)
-exec
install
-D
-s
--strip-program
=
"
$(
abspath
$(SRC)
/qt
/fix_header.sh
)
"
--
"{}"
"
$(PREFIX)
/include/qt5
/Qt
$
${h}
/{}"
\;
)
;
\
done
done
mkdir
-p
"
$(PREFIX)
/include/qt5/qpa"
echo
"#include
\"
../src/gui/kernel/qplatformnativeinterface.h
\"
"
>
"
$(PREFIX)
/include/qt5/qpa/qplatformnativeinterface.h"
# INSTALLING PKGCONFIG FILES
# INSTALLING PKGCONFIG FILES
install
-d
"
$(PREFIX)
/lib/pkgconfig"
install
-d
"
$(PREFIX)
/lib/pkgconfig"
for
i
in
Core Gui
;
\
for
i
in
Core Gui
Widgets
;
\
do
cat
$(SRC)
/qt
4/Qt
$
${i}
.pc.in |
sed
-e
s/@@VERSION@@/
$(QT4_VERSION)
/ |
sed
-e
's|@@PREFIX@@|
$(PREFIX)
|'
>
"
$(PREFIX)
/lib/pkgconfig/Qt
$
${i}
.pc"
;
\
do
cat
$(SRC)
/qt
/Qt5
$
${i}
.pc.in |
sed
-e
s/@@VERSION@@/
$(QT_VERSION)
/ |
sed
-e
's|@@PREFIX@@|
$(PREFIX)
|'
>
"
$(PREFIX)
/lib/pkgconfig/Qt5
$
${i}
.pc"
;
\
done
done
# INSTALLING QT BUILD TOOLS
# INSTALLING QT BUILD TOOLS
install
-d
"
$(PREFIX)
/bin/"
install
-d
"
$(PREFIX)
/bin/"
...
...
contrib/src/qt4/QtCore.pc.in
deleted
100644 → 0
View file @
5c03166a
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt4/QtCore
Name: Qtcore
Description: Qtcore Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lQtCore -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt4 -I${includedir} -DQT_NODLL
contrib/src/qt4/QtGui.pc.in
deleted
100644 → 0
View file @
5c03166a
prefix=@@PREFIX@@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/qt4/QtGui
Name: Qtgui
Description: Qtgui Library
Version: @@VERSION@@
Libs: -Wl,--subsystem,windows -mwindows -L${libdir} -lqjpeg -lqtaccessiblewidgets -lQtGui -lQtCore -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lgdi32 -limm32 -lwsock32
Cflags: -I${prefix}/include/qt4 -I${includedir} -DQT_NODLL
contrib/src/qt4/SHA512SUMS
deleted
100644 → 0
View file @
5c03166a
47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb qt-4.8.5.tar.gz
contrib/src/qt4/chroot.patch
deleted
100644 → 0
View file @
5c03166a
Fix build when using a 32-bit chroot with a x86_64 kernel
Native tools would be built with -m64
--- qt4/configure.orig 2011-11-11 14:48:12.944666802 -0500
+++ qt4/configure 2011-11-11 14:48:55.108875882 -0500
@@ -168,7 +168,7 @@
#-------------------------------------------------------------------------------
# need that throughout the script
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_MACHINE=`(gcc -dumpmachine|cut -d- -f1) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
contrib/src/qt4/cross.patch
deleted
100644 → 0
View file @
5c03166a
--- qt4/configure.orig 2011-11-10 18:48:29.351058392 -0500
+++ qt4/configure 2011-11-10 18:50:40.971711056 -0500
@@ -8255,11 +8255,13 @@
fi
# X11/Unix/Mac only configs
+if [ "$XPLATFORM_MINGW" != "yes" ]; then
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
[ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
-if [ "$XPLATFORM_SYMBIAN" = "no" ]; then
- # Do not apply following negative X11/Unix/Mac only flags on Symbian, so that
+fi
+if [ "$XPLATFORM_SYMBIAN" = "no" -a "$XPLATFORM_MINGW" != "yes" ]; then
+ # Do not apply following negative X11/Unix/Mac only flags on Symbian or MinGW, so that
# configuration matches with the one generated by configure executable tool
[ "$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
deleted
100644 → 0
View file @
5c03166a
--- qt4/src/plugins/imageformats/imageformats.pro.orig 2011-11-10 18:56:04.617315921 -0500
+++ qt4/src/plugins/imageformats/imageformats.pro 2011-11-10 18:56:39.269487754 -0500
@@ -1,8 +1,8 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-jpeg):!contains(QT_CONFIG, jpeg):SUBDIRS += jpeg
+!contains(QT_CONFIG, no-libjpeg):!contains(QT_CONFIG, libjpeg):SUBDIRS += jpeg
!contains(QT_CONFIG, no-gif):!contains(QT_CONFIG, gif):SUBDIRS += gif
-!contains(QT_CONFIG, no-mng):!contains(QT_CONFIG, mng):SUBDIRS += mng
+!contains(QT_CONFIG, no-libmng):!contains(QT_CONFIG, libmng):SUBDIRS += mng
contains(QT_CONFIG, svg):SUBDIRS += svg
-!contains(QT_CONFIG, no-tiff):!contains(QT_CONFIG, tiff):SUBDIRS += tiff
+!contains(QT_CONFIG, no-libtiff):!contains(QT_CONFIG, libtiff):SUBDIRS += tiff
!contains(QT_CONFIG, no-ico):SUBDIRS += ico
contrib/src/qt4/styles.patch
deleted
100644 → 0
View file @
5c03166a
--- qt4/configure.orig 2011-11-10 17:44:02.427883340 -0500
+++ qt4/configure 2011-11-10 17:44:13.915940309 -0500
@@ -584,7 +584,7 @@
rm -f "$outpath/config.tests/.qmake.cache"
cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache"
-QMakeVar add styles "cde mac motif plastique cleanlooks windows"
+QMakeVar add styles "mac windows"
QMakeVar add decorations "default windows styled"
QMakeVar add mouse-drivers "pc"
if [ "$UNAME_SYSTEM" = "Linux" ] ; then
contrib/src/qt4/win64.patch
deleted
100644 → 0
View file @
5c03166a
--- qt4/src/corelib/tools/qsimd.cpp.orig 2013-08-16 21:25:28.069333245 +0200
+++ qt4/src/corelib/tools/qsimd.cpp 2013-08-16 21:25:35.061332951 +0200
@@ -47,7 +47,7 @@
#include <windows.h>
#endif
-#if defined(Q_OS_WIN64) && !defined(Q_CC_GNU)
+#if defined(Q_OS_WIN64)
#include <intrin.h>
#endif
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