[arch-commits] Commit in qt5-base/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jan 28 23:19:59 UTC 2017


    Date: Saturday, January 28, 2017 @ 23:19:58
  Author: arojas
Revision: 287626

Fix logging to systemd journal (FS#52712)

Modified:
  qt5-base/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-28 17:08:29 UTC (rev 287625)
+++ PKGBUILD	2017-01-28 23:19:58 UTC (rev 287626)
@@ -5,7 +5,7 @@
 pkgname=qt5-base
 _qtver=5.8.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -25,8 +25,10 @@
 conflicts=('qtchooser')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch")
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+         '160fde81fe882c4241f04634f53691ad')
 
 prepare() {
   cd ${_pkgfqn}
@@ -41,6 +43,9 @@
   # Use python2 for Python 2.x
   find . -name '*.py' -exec sed -i \
     's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix logging to systemd journal
+  patch -p1 -i ../qt5-base-journald.patch
 }
 
 build() {



More information about the arch-commits mailing list