[arch-commits] Commit in qt/trunk (PKGBUILD lrelease.patch)

Pierre Schmitz pierre at archlinux.org
Sun Apr 19 11:01:53 UTC 2009


    Date: Sunday, April 19, 2009 @ 07:01:53
  Author: pierre
Revision: 36007

upgpkg: qt 4.5.0-5

Added:
  qt/trunk/lrelease.patch
Modified:
  qt/trunk/PKGBUILD

----------------+
 PKGBUILD       |    9 ++++++---
 lrelease.patch |   11 +++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-19 09:39:46 UTC (rev 36006)
+++ PKGBUILD	2009-04-19 11:01:53 UTC (rev 36007)
@@ -3,7 +3,7 @@
 
 pkgname=qt
 pkgver=4.5.0
-pkgrel=4
+pkgrel=5
 _qtcopyver=942255
 pkgdesc='A cross-platform application and UI framework'
 arch=('i686' 'x86_64')
@@ -21,14 +21,15 @@
 source=("ftp://ftp.qtsoftware.com/qt/source/${_pkgfqn}.tar.bz2"
         "ftp://ftp.archlinux.org/other/qt/qt-copy-patches-${_qtcopyver}.tar.bz2"
         'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop'
-        'qdoc3.patch')
+        'qdoc3.patch' 'lrelease.patch')
 md5sums=('55e8c74a89e1bc128a5a6f1ff6b8b5ba'
          '95c2318cf97a4ed72db8baaff8543251'
          'b352b4b70faba2571af3fce5d119580a'
          '491a96682faa03407f768a53cca71db5'
          'cda7ed7e132689991dc2968a0043b4b0'
          '717669b728a0a795217d2f52969e454c'
-         '868056a3edab09fbac0f82ec8b4a4be3')
+         '868056a3edab09fbac0f82ec8b4a4be3'
+         '5859535390a2a58f298c36645aa58ad0')
 
 build() {
 	unset QMAKESPEC
@@ -43,6 +44,8 @@
 	done
 
 	patch -p1 -i $srcdir/qdoc3.patch
+	# see http://bugs.archlinux.org/task/14369
+	patch -p1 -i $srcdir/lrelease.patch
 
 	sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
 

Added: lrelease.patch
===================================================================
--- lrelease.patch	                        (rev 0)
+++ lrelease.patch	2009-04-19 11:01:53 UTC (rev 36007)
@@ -0,0 +1,11 @@
+--- qt-x11-opensource-src-4.5.0/tools/linguist/lrelease/main.cpp.orig	2009-03-24 13:42:02.000000000 +0100
++++ qt-x11-opensource-src-4.5.0/tools/linguist/lrelease/main.cpp	2009-03-24 13:47:21.000000000 +0100
+@@ -102,7 +102,7 @@
+                 if (!msg.comment().isEmpty())
+                     qWarning("\n* Comment: %s", qPrintable(msg.comment()));
+             }
+-            ok = false;
++            //ok = false;
+         }
+     }
+     return ok;




More information about the arch-commits mailing list