Browse Source

qt4: Updated (4.7.4 -> 4.8.4)

user/chris/wip/linux37
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
5889e7e251
  1. 44
      qt/qt4/qt4-translations-build-fix.patch
  2. 5
      qt/qt4/qt4.conf
  3. 4
      qt/qt4/qt4.desc

44
qt/qt4/qt4-translations-build-fix.patch

@ -0,0 +1,44 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qt4/qt4-translations-build-fix.patch
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
without this patch we get following error when linking
-----------------------------------------------------------------------------
g++ -Wl,-rpath-link,/TOOLCHAIN/src.qt4.uma.20130618.102156.21560.builder64/qt-everywhere-opensource-src-4.8.4/lib -Wl,-O1 -o qm_phony_target
/usr/lib/gcc/i686-unknown-linux-gnu/4.7.3/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
-----------------------------------------------------------------------------
--- qt-everywhere-opensource-src-4.8.4/translations/translations.pro.orig 2013-06-18 12:51:39.085600311 +0200
+++ qt-everywhere-opensource-src-4.8.4/translations/translations.pro 2013-06-18 12:53:40.134783556 +0200
@@ -101,7 +101,7 @@
updateqm.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += updateqm
-isEmpty(vcproj) {
+!isEmpty(vcproj) {
QMAKE_LINK = @: IGNORE THIS LINE
OBJECTS_DIR =
win32:CONFIG -= embed_manifest_exe
@@ -111,7 +111,7 @@
phony_src.input = PHONY_DEPS
phony_src.output = phony.c
phony_src.variable_out = GENERATED_SOURCES
- phony_src.commands = echo int main() { return 0; } > phony.c
+ phony_src.commands = echo \"int main() { return 0; }\" > phony.c
phony_src.name = CREATE phony.c
phony_src.CONFIG += combine
QMAKE_EXTRA_COMPILERS += phony_src

5
qt/qt4/qt4.conf

@ -130,6 +130,11 @@ for tuple in $tuples; do
fi
done
# explicitely use C++ compiler for linking because '-Wl' is not working
# when directly using 'ld'
var_append makeopt ' ' "LINK=$CXX"
var_append makeinstopt ' ' "LINK=$CXX"
hook_add preconf 5 "pkg_qt4_preconf"
hook_add postmake 5 "pkg_qt4_profiled"

4
qt/qt4/qt4.desc

@ -33,7 +33,7 @@
[L] GPL
[S] Stable
[V] 4.7.4
[V] 4.8.4
[P] X -----5---9 127.000
[D] 964586518 qt-everywhere-opensource-src-4.7.4.tar.gz http://download.qt-project.org/archive/qt/4.7/
[D] 1446907036 qt-everywhere-opensource-src-4.8.4.tar.gz http://download.qt-project.org/official_releases/qt/4.8/4.8.4/

Loading…
Cancel
Save