* [Buildroot] [PATCH] package/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly apply
@ 2016-12-02 22:27 Zoltan Gyarmati
2016-12-02 22:59 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Zoltan Gyarmati @ 2016-12-02 22:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
CMakeLists.txt patch is sent to upstream
...1-fix-Qt4-package-error-in-CMakeLists.txt.patch | 25 ++++++++++------------
package/qjson/qjson.hash | 2 +-
package/qjson/qjson.mk | 2 +-
3 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/package/qjson/0001-fix-Qt4-package-error-in-CMakeLists.txt.patch b/package/qjson/0001-fix-Qt4-package-error-in-CMakeLists.txt.patch
index 6f7a9ba..a9e34e4 100644
--- a/package/qjson/0001-fix-Qt4-package-error-in-CMakeLists.txt.patch
+++ b/package/qjson/0001-fix-Qt4-package-error-in-CMakeLists.txt.patch
@@ -1,10 +1,7 @@
-From 45ec86156819c0872d023b05001682a8d2d2dc25 Mon Sep 17 00:00:00 2001
+From 254858bbf443bded2e80480e9f9032ce166b923e Mon Sep 17 00:00:00 2001
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
-Date: Sat, 6 Apr 2013 16:54:25 +0200
-Subject: [PATCH] fix Qt4 package error in CMakeLists.txt
-
-Avoid checking for uic executable by cmake as it results configure
-time error if QtGui isn't installed.
+Date: Fri, 2 Dec 2016 23:00:58 +0100
+Subject: [PATCH] CMake, Qt4: check specifically for QtCore, fixes #96
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
@@ -12,18 +9,18 @@ Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index adb65e9..81854b1 100644
+index 31d9987..2fde79f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -52,7 +52,7 @@ IF (Qt5Core_FOUND)
+@@ -62,7 +62,7 @@ IF (Qt5Core_FOUND)
ELSE()
MESSAGE ("Qt5 not found, searching for Qt4")
# Find Qt4
-- FIND_PACKAGE( Qt4 REQUIRED )
-+ FIND_PACKAGE( Qt4 COMPONENTS QtCore REQUIRED )
-
- # Include the cmake file needed to use qt4
- INCLUDE( ${QT_USE_FILE} )
+- FIND_PACKAGE( Qt4 4.5 REQUIRED )
++ FIND_PACKAGE( Qt4 4.5 REQUIRED QtCore)
+ # QStringBuilder is supported since Qt 4.8 for both QString and QByteArray
+ IF (NOT (${QT_VERSION_MINOR} STRLESS "8"))
+ MESSAGE ("Enable QStringBuilder")
--
-2.1.1
+2.7.4
diff --git a/package/qjson/qjson.hash b/package/qjson/qjson.hash
index 6282227..d794b48 100644
--- a/package/qjson/qjson.hash
+++ b/package/qjson/qjson.hash
@@ -1,2 +1,2 @@
# locally computed
-sha256 863f0dd6b7199f84acf1e2487735830fab316a9a3a5e1651130ad153a231f2ed qjson-ba273682a9d33a7b3090e74f4742b5f3bf6c9b02.tar.gz
+sha256 e812617477f3c2bb990561767a4cd8b1d3803a52018d4878da302529552610d4 qjson-0.9.0.tar.gz
diff --git a/package/qjson/qjson.mk b/package/qjson/qjson.mk
index 6a16617..dab2381 100644
--- a/package/qjson/qjson.mk
+++ b/package/qjson/qjson.mk
@@ -4,7 +4,7 @@
#
################################################################################
-QJSON_VERSION = ba273682a9d33a7b3090e74f4742b5f3bf6c9b02
+QJSON_VERSION = 0.9.0
QJSON_SITE = $(call github,flavio,qjson,$(QJSON_VERSION))
QJSON_INSTALL_STAGING = YES
QJSON_DEPENDENCIES = \
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly apply
2016-12-02 22:27 [Buildroot] [PATCH] package/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly apply Zoltan Gyarmati
@ 2016-12-02 22:59 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-12-02 22:59 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 2 Dec 2016 23:27:26 +0100, Zoltan Gyarmati wrote:
> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
> ---
> CMakeLists.txt patch is sent to upstream
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-02 22:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-02 22:27 [Buildroot] [PATCH] package/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly apply Zoltan Gyarmati
2016-12-02 22:59 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.