Browse Source
0.134caad26
depends: bump cctools to a custom version with less deps (Cory Fields)46f54bf
build: osx builders no longer need 32bit compiler support (Cory Fields)4fe6c3c
depends: major upgrade to darwin toolchain (Cory Fields)ec90c97
depends: osx: fix qt5 build against 10.10 sdk (Cory Fields)
Wladimir J. van der Laan
10 years ago
10 changed files with 94 additions and 109 deletions
@ -1,24 +0,0 @@
@@ -1,24 +0,0 @@
|
||||
package:=native_libuuid |
||||
$(package)_version=1.41.14 |
||||
$(package)_download_path=http://downloads.sourceforge.net/e2fsprogs |
||||
$(package)_file_name=e2fsprogs-libs-$($(package)_version).tar.gz |
||||
$(package)_sha256_hash=dbc7a138a3218d9b80a0626b5b692d76934d6746d8cbb762751be33785d8d9f5 |
||||
|
||||
define $(package)_set_vars |
||||
$(package)_config_opts=--disable-elf-shlibs --disable-uuidd |
||||
$(package)_cflags+=-m32 |
||||
$(package)_ldflags+=-m32 |
||||
$(package)_cxxflags+=-m32 |
||||
endef |
||||
|
||||
define $(package)_config_cmds |
||||
$($(package)_autoconf) |
||||
endef |
||||
|
||||
define $(package)_build_cmds |
||||
$(MAKE) -C lib/uuid |
||||
endef |
||||
|
||||
define $(package)_stage_cmds |
||||
$(MAKE) DESTDIR=$($(package)_staging_dir) -C lib/uuid install |
||||
endef |
@ -1,21 +0,0 @@
@@ -1,21 +0,0 @@
|
||||
package=native_openssl |
||||
$(package)_version=1.0.1h |
||||
$(package)_download_path=https://www.openssl.org/source |
||||
$(package)_file_name=openssl-$($(package)_version).tar.gz |
||||
$(package)_sha256_hash=9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093 |
||||
define $(package)_set_vars |
||||
$(package)_build_config_opts= --prefix=$(build_prefix) no-zlib no-shared no-krb5C linux-generic32 -m32 |
||||
endef |
||||
|
||||
define $(package)_config_cmds |
||||
./Configure $($(package)_build_config_opts) &&\
|
||||
sed -i "s|engines apps test|engines|" Makefile |
||||
endef |
||||
|
||||
define $(package)_build_cmds |
||||
$(MAKE) -j1 |
||||
endef |
||||
|
||||
define $(package)_stage_cmds |
||||
$(MAKE) INSTALL_PREFIX=$($(package)_staging_dir) -j1 install_sw |
||||
endef |
@ -0,0 +1,52 @@
@@ -0,0 +1,52 @@
|
||||
The following patch was taken from upstream: |
||||
https://qt.gitorious.org/qt/qtbase/commit/70e4428b6f1c6a4bad112203f67ee7d22107616c.patch |
||||
|
||||
The first hunk was removed because it conflicts with 5.2.1, and is not currently needed. |
||||
|
||||
From 70e4428b6f1c6a4bad112203f67ee7d22107616c Mon Sep 17 00:00:00 2001 |
||||
From: Gabriel de Dietrich <gabriel.dedietrich@digia.com> |
||||
Date: Tue, 3 Jun 2014 14:20:20 +0200 |
||||
Subject: [PATCH] Cocoa: Adapt to Xcode 6 clang version sudden pickiness |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; charset=UTF-8 |
||||
Content-Transfer-Encoding: 8bit |
||||
|
||||
Yes, that means OS X Yosemite fix. |
||||
|
||||
Change-Id: I236f7af7b803de24ff0895e04c9a9253b5cfdb3b |
||||
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> |
||||
---
|
||||
.../platforms/cocoa/qcocoaaccessibilityelement.mm | 2 +- |
||||
.../platforms/cocoa/qcocoaapplicationdelegate.mm | 2 +- |
||||
src/plugins/platforms/cocoa/qcocoamenuloader.mm | 2 +- |
||||
3 files changed, 3 insertions(+), 3 deletions(-) |
||||
|
||||
diff --git a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
|
||||
index f841184..548c6a2 100644
|
||||
--- a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
|
||||
+++ b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
|
||||
@@ -124,7 +124,7 @@ static void cleanupCocoaApplicationDelegate()
|
||||
[dockMenu release]; |
||||
[qtMenuLoader release]; |
||||
if (reflectionDelegate) { |
||||
- [NSApp setDelegate:reflectionDelegate];
|
||||
+ [[NSApplication sharedApplication] setDelegate:reflectionDelegate];
|
||||
[reflectionDelegate release]; |
||||
} |
||||
[[NSNotificationCenter defaultCenter] removeObserver:self]; |
||||
diff --git a/src/plugins/platforms/cocoa/qcocoamenuloader.mm b/src/plugins/platforms/cocoa/qcocoamenuloader.mm
|
||||
index 60bc3b5..9340e94 100644
|
||||
--- a/src/plugins/platforms/cocoa/qcocoamenuloader.mm
|
||||
+++ b/src/plugins/platforms/cocoa/qcocoamenuloader.mm
|
||||
@@ -174,7 +174,7 @@ QT_END_NAMESPACE
|
||||
- (void)removeActionsFromAppMenu |
||||
{ |
||||
for (NSMenuItem *item in [appMenu itemArray]) |
||||
- [item setTag:nil];
|
||||
+ [item setTag:0];
|
||||
} |
||||
|
||||
- (void)dealloc |
||||
--
|
||||
1.7.1 |
||||
|
Loading…
Reference in new issue