[arch-commits] Commit in qt5-base/repos (6 files)

2017-07-01 Thread Antonio Rojas
Date: Saturday, July 1, 2017 @ 14:23:52
  Author: arojas
Revision: 299463

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-base/repos/testing-i686/
  qt5-base/repos/testing-i686/PKGBUILD
(from rev 299462, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-i686/rebuild.list
(from rev 299462, qt5-base/trunk/rebuild.list)
  qt5-base/repos/testing-x86_64/
  qt5-base/repos/testing-x86_64/PKGBUILD
(from rev 299462, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-x86_64/rebuild.list
(from rev 299462, qt5-base/trunk/rebuild.list)

-+
 testing-i686/PKGBUILD   |  116 ++
 testing-i686/rebuild.list   |   17 ++
 testing-x86_64/PKGBUILD |  116 ++
 testing-x86_64/rebuild.list |   17 ++
 4 files changed, 266 insertions(+)

Copied: qt5-base/repos/testing-i686/PKGBUILD (from rev 299462, 
qt5-base/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-07-01 14:23:52 UTC (rev 299463)
@@ -0,0 +1,116 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgbase=qt5-base
+pkgname=(qt5-base qt5-xcb-private-headers)
+_qtver=5.9.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu' 
'pcre2'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0' 'double-conversion')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
+sha256sums=('bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
+  sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i 
mkspecs/features/create_cmake.prf
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package_qt5-base() {
+  pkgdesc='A cross-platform application and UI framework'
+
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+}
+
+package_qt5-xcb-private-headers() {
+  pkgdesc='Private headers for Qt5 Xcb'
+
+  

[arch-commits] Commit in qt5-base/repos (6 files)

2017-05-31 Thread Antonio Rojas
Date: Wednesday, May 31, 2017 @ 16:18:51
  Author: arojas
Revision: 296971

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 296970, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 296970, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 296970, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 296970, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  116 ++
 staging-i686/rebuild.list   |   15 +
 staging-x86_64/PKGBUILD |  116 ++
 staging-x86_64/rebuild.list |   15 +
 4 files changed, 262 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 296970, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-05-31 16:18:51 UTC (rev 296971)
@@ -0,0 +1,116 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgbase=qt5-base
+pkgname=(qt5-base qt5-xcb-private-headers)
+_qtver=5.9.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu' 
'pcre2'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0' 'double-conversion')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
+sha256sums=('267eb2af1a203c087f2113f43b08014d0e2d2cb269295b8602d869a2fad5296c')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
+  sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i 
mkspecs/features/create_cmake.prf
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package_qt5-base() {
+  pkgdesc='A cross-platform application and UI framework'
+
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+}
+
+package_qt5-xcb-private-headers() {
+  pkgdesc='Private headers for Qt5 Xcb'
+
+  

[arch-commits] Commit in qt5-base/repos (6 files)

2017-05-25 Thread Evangelos Foutras
Date: Friday, May 26, 2017 @ 02:05:39
  Author: foutrelis
Revision: 296638

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 296637, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 296637, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 296637, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 296637, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  129 ++
 staging-i686/rebuild.list   |   15 
 staging-x86_64/PKGBUILD |  129 ++
 staging-x86_64/rebuild.list |   15 
 4 files changed, 288 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 296637, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-05-26 02:05:39 UTC (rev 296638)
@@ -0,0 +1,129 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgbase=qt5-base
+pkgname=(qt5-base qt5-xcb-private-headers)
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=13.1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0')
+makedepends=('libfbclient' 'libmariadb' 'sqlite' 'unixodbc' 'postgresql-libs' 
'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadb: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
+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;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ 'e9ab6de042b599638f506d2974598164'
+ '438f85a8ecc0f8c066dc0deb5961b6fa'
+ '763a796776f3f8bf46cd4a0ed13d4028'
+ 'ffacccebfc17dc5a87724d13cefe38e5')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package_qt5-base() {
+  pkgdesc='A cross-platform application and UI framework'
+
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR 

[arch-commits] Commit in qt5-base/repos (6 files)

2017-05-17 Thread Jan de Groot
Date: Wednesday, May 17, 2017 @ 10:27:40
  Author: jgc
Revision: 296204

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 296203, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 296203, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 296203, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 296203, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  129 ++
 staging-i686/rebuild.list   |   15 
 staging-x86_64/PKGBUILD |  129 ++
 staging-x86_64/rebuild.list |   15 
 4 files changed, 288 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 296203, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-05-17 10:27:40 UTC (rev 296204)
@@ -0,0 +1,129 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgbase=qt5-base
+pkgname=(qt5-base qt5-xcb-private-headers)
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=12
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
+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;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package_qt5-base() {
+  pkgdesc='A cross-platform application and UI framework'
+
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt
+
+  # Drop 

[arch-commits] Commit in qt5-base/repos (6 files)

2017-04-25 Thread Evangelos Foutras
Date: Tuesday, April 25, 2017 @ 08:03:16
  Author: foutrelis
Revision: 294624

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 294623, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 294623, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 294623, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 294623, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  129 ++
 staging-i686/rebuild.list   |   15 
 staging-x86_64/PKGBUILD |  129 ++
 staging-x86_64/rebuild.list |   15 
 4 files changed, 288 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 294623, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-04-25 08:03:16 UTC (rev 294624)
@@ -0,0 +1,129 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgbase=qt5-base
+pkgname=(qt5-base qt5-xcb-private-headers)
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=11
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgbase/5-/}-opensource-src-${_qtver}"
+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;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package_qt5-base() {
+  pkgdesc='A cross-platform application and UI framework'
+
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt
+
+  # Drop 

[arch-commits] Commit in qt5-base/repos (6 files)

2017-04-05 Thread Antonio Rojas
Date: Wednesday, April 5, 2017 @ 07:58:57
  Author: arojas
Revision: 292089

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 292088, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 292088, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 292088, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 292088, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  113 ++
 staging-i686/rebuild.list   |   15 +
 staging-x86_64/PKGBUILD |  113 ++
 staging-x86_64/rebuild.list |   15 +
 4 files changed, 256 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 292088, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-04-05 07:58:57 UTC (rev 292089)
@@ -0,0 +1,113 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=9
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+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;
+
qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "INCLUDEPATH += /usr/include/openssl-1.0" >> src/network/network.pro
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e 

[arch-commits] Commit in qt5-base/repos (6 files)

2017-03-03 Thread Antonio Rojas
Date: Friday, March 3, 2017 @ 16:01:13
  Author: arojas
Revision: 289935

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-base/repos/testing-i686/
  qt5-base/repos/testing-i686/PKGBUILD
(from rev 289934, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-i686/rebuild.list
(from rev 289934, qt5-base/trunk/rebuild.list)
  qt5-base/repos/testing-x86_64/
  qt5-base/repos/testing-x86_64/PKGBUILD
(from rev 289934, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-x86_64/rebuild.list
(from rev 289934, qt5-base/trunk/rebuild.list)

-+
 testing-i686/PKGBUILD   |  113 ++
 testing-i686/rebuild.list   |   15 +
 testing-x86_64/PKGBUILD |  113 ++
 testing-x86_64/rebuild.list |   15 +
 4 files changed, 256 insertions(+)

Copied: qt5-base/repos/testing-i686/PKGBUILD (from rev 289934, 
qt5-base/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-03-03 16:01:13 UTC (rev 289935)
@@ -0,0 +1,113 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=7
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups') # 
'openssl-1.0'
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+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;
+
qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+#  echo "QMAKE_CXXFLAGS += -I/usr/include/openssl-1.0" >> 
mkspecs/linux-g++/qmake.conf
+#  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+

[arch-commits] Commit in qt5-base/repos (6 files)

2017-03-02 Thread Antonio Rojas
Date: Thursday, March 2, 2017 @ 22:46:05
  Author: arojas
Revision: 289903

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 289902, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 289902, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 289902, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 289902, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  113 ++
 staging-i686/rebuild.list   |   15 +
 staging-x86_64/PKGBUILD |  113 ++
 staging-x86_64/rebuild.list |   15 +
 4 files changed, 256 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 289902, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-03-02 22:46:05 UTC (rev 289903)
@@ -0,0 +1,113 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=6
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 
'openssl-1.0')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+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;
+
qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  echo "QMAKE_CXXFLAGS += -I/usr/include/openssl-1.0" >> 
mkspecs/linux-g++/qmake.conf
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec 

[arch-commits] Commit in qt5-base/repos (6 files)

2017-02-09 Thread Antonio Rojas
Date: Thursday, February 9, 2017 @ 20:26:51
  Author: arojas
Revision: 288535

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 288534, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 288534, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 288534, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 288534, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  110 ++
 staging-i686/rebuild.list   |   15 +
 staging-x86_64/PKGBUILD |  110 ++
 staging-x86_64/rebuild.list |   15 +
 4 files changed, 250 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 288534, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-02-09 20:26:51 UTC (rev 288535)
@@ -0,0 +1,110 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=5
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+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;
+
qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch;
+
plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
+
plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
+
plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad'
+ '078d8a051c06abf28451fd2cdb7f19ce'
+ '92daaa3ebd7cf10ee725b963e44c95a7'
+ '76ab122615f1ba2d68c83477f82e389e')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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
+
+  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
+  patch -p1 -i ../plasma-crash-1.patch
+  patch -p1 -i ../plasma-crash-2.patch
+  patch -p1 -i ../plasma-crash-3.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+

[arch-commits] Commit in qt5-base/repos (6 files)

2017-02-03 Thread Antonio Rojas
Date: Friday, February 3, 2017 @ 15:52:46
  Author: arojas
Revision: 287986

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 287985, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 287985, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 287985, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 287985, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |   99 ++
 staging-i686/rebuild.list   |   15 ++
 staging-x86_64/PKGBUILD |   99 ++
 staging-x86_64/rebuild.list |   15 ++
 4 files changed, 228 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 287985, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-02-03 15:52:46 UTC (rev 287986)
@@ -0,0 +1,99 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
+makedepends=('libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'gtk3: GTK platform plugin')
+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;
+
qt5-base-journald.patch::"https://github.com/qt/qtbase/commit/0c8f3229.patch;)
+md5sums=('6e1f7f6fb6333eb66e563b175c4e87e9'
+ '160fde81fe882c4241f04634f53691ad')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # 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() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+}

Copied: qt5-base/repos/staging-i686/rebuild.list (from rev 287985, 
qt5-base/trunk/rebuild.list)
===
--- staging-i686/rebuild.list   (rev 0)
+++ staging-i686/rebuild.list   2017-02-03 15:52:46 UTC (rev 287986)
@@ -0,0 +1,15 @@
+fcitx-qt5 *
+plasma-integration
+gcin
+calibre
+akonadi *
+skrooge *

[arch-commits] Commit in qt5-base/repos (6 files)

2017-01-23 Thread Antonio Rojas
Date: Monday, January 23, 2017 @ 10:49:41
  Author: arojas
Revision: 287152

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 287151, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 287151, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 287151, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 287151, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |   95 ++
 staging-i686/rebuild.list   |9 +++
 staging-x86_64/PKGBUILD |   95 ++
 staging-x86_64/rebuild.list |9 +++
 4 files changed, 208 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 287151, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-01-23 10:49:41 UTC (rev 287152)
@@ -0,0 +1,95 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk3: GTK platform plugin')
+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')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+}

Copied: qt5-base/repos/staging-i686/rebuild.list (from rev 287151, 
qt5-base/trunk/rebuild.list)
===
--- staging-i686/rebuild.list   (rev 0)
+++ staging-i686/rebuild.list   2017-01-23 10:49:41 UTC (rev 287152)
@@ -0,0 +1,9 @@
+fcitx-qt5
+plasma-integration
+gcin
+calibre
+akonadi
+skrooge
+kwin
+lxqt-qtplugin
+qt5dxcb-plugin

Copied: qt5-base/repos/staging-x86_64/PKGBUILD (from rev 287151, 
qt5-base/trunk/PKGBUILD)

[arch-commits] Commit in qt5-base/repos (6 files)

2017-01-09 Thread Antonio Rojas
Date: Monday, January 9, 2017 @ 19:16:22
  Author: arojas
Revision: 285593

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  qt5-base/repos/staging-i686/
  qt5-base/repos/staging-i686/PKGBUILD
(from rev 285592, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-i686/rebuild.list
(from rev 285592, qt5-base/trunk/rebuild.list)
  qt5-base/repos/staging-x86_64/
  qt5-base/repos/staging-x86_64/PKGBUILD
(from rev 285592, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/staging-x86_64/rebuild.list
(from rev 285592, qt5-base/trunk/rebuild.list)

-+
 staging-i686/PKGBUILD   |  108 ++
 staging-i686/rebuild.list   |   12 
 staging-x86_64/PKGBUILD |  108 ++
 staging-x86_64/rebuild.list |   12 
 4 files changed, 240 insertions(+)

Copied: qt5-base/repos/staging-i686/PKGBUILD (from rev 285592, 
qt5-base/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-01-09 19:16:22 UTC (rev 285593)
@@ -0,0 +1,108 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.7.1
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk3: GTK platform plugin')
+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;
+qtbug-49061.patch::"https://github.com/qt/qtbase/commit/494376f9.patch;
+
qtbug-55583.patch::"https://github.com/qt/qtbase/commit/84ea00d4.patch;)
+md5sums=('f0809befe04160fbb73bbf38a06a2073'
+ 'c86af27562bbbe05c3defd63d00130fd'
+ '7b11584d9ea1ccb6c419e9b9816dee63')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix libsystemd-journal detection
+  sed -e 's|libsystemd-journal|libsystemd|' -i 
config.tests/unix/journald/journald.pro -i src/corelib/global/global.pri
+
+  # Don't unload plugins in QPluginLoader 
https://bugreports.qt.io/browse/QTBUG-49061
+  patch -p1 -i ../qtbug-49061.patch
+
+  # Fix file chooser segfault on gnome/wayland 
https://bugreports.qt.io/browse/QTBUG-55583
+  patch -p1 -i ../qtbug-55583.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; 

[arch-commits] Commit in qt5-base/repos (6 files)

2016-12-22 Thread Antonio Rojas
Date: Friday, December 23, 2016 @ 07:02:51
  Author: arojas
Revision: 284482

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  qt5-base/repos/kde-unstable-i686/
  qt5-base/repos/kde-unstable-i686/PKGBUILD
(from rev 284481, qt5-base/kde-unstable/PKGBUILD)
  qt5-base/repos/kde-unstable-i686/rebuild.list
(from rev 284481, qt5-base/kde-unstable/rebuild.list)
  qt5-base/repos/kde-unstable-x86_64/
  qt5-base/repos/kde-unstable-x86_64/PKGBUILD
(from rev 284481, qt5-base/kde-unstable/PKGBUILD)
  qt5-base/repos/kde-unstable-x86_64/rebuild.list
(from rev 284481, qt5-base/kde-unstable/rebuild.list)

--+
 kde-unstable-i686/PKGBUILD   |   95 +
 kde-unstable-i686/rebuild.list   |9 +++
 kde-unstable-x86_64/PKGBUILD |   95 +
 kde-unstable-x86_64/rebuild.list |9 +++
 4 files changed, 208 insertions(+)

Copied: qt5-base/repos/kde-unstable-i686/PKGBUILD (from rev 284481, 
qt5-base/kde-unstable/PKGBUILD)
===
--- kde-unstable-i686/PKGBUILD  (rev 0)
+++ kde-unstable-i686/PKGBUILD  2016-12-23 07:02:51 UTC (rev 284482)
@@ -0,0 +1,95 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.8.0-rc
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 
'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk3: GTK platform plugin')
+conflicts=('qtchooser')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
+md5sums=('e71df4a4f99f8006e74d63c6a7d61af9')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+}

Copied: qt5-base/repos/kde-unstable-i686/rebuild.list (from rev 284481, 
qt5-base/kde-unstable/rebuild.list)
===
--- kde-unstable-i686/rebuild.list  (rev 0)
+++ kde-unstable-i686/rebuild.list  2016-12-23 07:02:51 UTC (rev 284482)
@@ -0,0 +1,9 @@
+fcitx-qt5
+plasma-integration
+gcin
+calibre
+akonadi
+skrooge
+kwin
+lxqt-qtplugin
+qt5dxcb-plugin

Copied: 

[arch-commits] Commit in qt5-base/repos (6 files)

2016-10-01 Thread Antonio Rojas
Date: Saturday, October 1, 2016 @ 07:55:21
  Author: arojas
Revision: 277480

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-base/repos/testing-i686/
  qt5-base/repos/testing-i686/PKGBUILD
(from rev 277479, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-i686/rebuild.list
(from rev 277479, qt5-base/trunk/rebuild.list)
  qt5-base/repos/testing-x86_64/
  qt5-base/repos/testing-x86_64/PKGBUILD
(from rev 277479, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-x86_64/rebuild.list
(from rev 277479, qt5-base/trunk/rebuild.list)

-+
 testing-i686/PKGBUILD   |  116 ++
 testing-i686/rebuild.list   |8 ++
 testing-x86_64/PKGBUILD |  116 ++
 testing-x86_64/rebuild.list |8 ++
 4 files changed, 248 insertions(+)

Copied: qt5-base/repos/testing-i686/PKGBUILD (from rev 277479, 
qt5-base/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-10-01 07:55:21 UTC (rev 277480)
@@ -0,0 +1,116 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk3: GTK platform plugin')
+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;
+
qtbug-53071.patch::"https://github.com/qtproject/qtbase/commit/e9041c7fc.patch;
+
qtbug-53071b.patch::"https://github.com/qtproject/qtbase/commit/cd25866f.patch;
+
qtbug-53237.patch::"https://github.com/qtproject/qtbase/commit/8e889378.patch;
+
qtbug-49452.patch::"https://github.com/qt/qtbase/commit/6f423555.patch;)
+md5sums=('184f9460b40752d71b15b827260580c2'
+ '462f079cd46f869def6858903a718bf5'
+ 'da4fd787ea877516397a027412e975e1'
+ '981255fb1aea0d3c0b5c5f306fe374da'
+ '646aea77ca90031c453a65ef61db55f9')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix libsystemd-journal detection
+  sed -e 's|libsystemd-journal|libsystemd|' -i 
config.tests/unix/journald/journald.pro -i src/corelib/global/global.pri
+
+  # Fix parsing of tzfile(5) POSIX rule zone names with bracket quotes
+  patch -p1 -i ../qtbug-53071.patch
+  patch -p1 -i ../qtbug-53071b.patch
+
+  # Fix UNSIGNED values in QMYSQL
+  patch -p1 -i ../qtbug-53237.patch
+
+  # Fix freetype engine performance 
+  patch -p1 -i ../qtbug-49452.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" 

[arch-commits] Commit in qt5-base/repos (6 files)

2016-06-09 Thread Felix Yan
Date: Thursday, June 9, 2016 @ 10:23:49
  Author: fyan
Revision: 269164

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qt5-base/repos/testing-i686/
  qt5-base/repos/testing-i686/PKGBUILD
(from rev 269163, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-i686/rebuild.list
(from rev 269163, qt5-base/trunk/rebuild.list)
  qt5-base/repos/testing-x86_64/
  qt5-base/repos/testing-x86_64/PKGBUILD
(from rev 269163, qt5-base/trunk/PKGBUILD)
  qt5-base/repos/testing-x86_64/rebuild.list
(from rev 269163, qt5-base/trunk/rebuild.list)

-+
 testing-i686/PKGBUILD   |  108 ++
 testing-i686/rebuild.list   |6 ++
 testing-x86_64/PKGBUILD |  108 ++
 testing-x86_64/rebuild.list |6 ++
 4 files changed, 228 insertions(+)

Copied: qt5-base/repos/testing-i686/PKGBUILD (from rev 269163, 
qt5-base/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-06-09 08:23:49 UTC (rev 269164)
@@ -0,0 +1,108 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'qtchooser' 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk2' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk2: GTK2 plugin')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
qtbug-53071.patch::"https://github.com/qtproject/qtbase/commit/e9041c7fc.patch;
+
qtbug-53071b.patch::"https://github.com/qtproject/qtbase/commit/cd25866f.patch;)
+md5sums=('b23232190a3df61fe1ba81636987b036'
+ '462f079cd46f869def6858903a718bf5'
+ 'da4fd787ea877516397a027412e975e1')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix libsystemd-journal detection
+  sed -e 's|libsystemd-journal|libsystemd|' -i 
config.tests/unix/journald/journald.pro -i src/corelib/global/global.pri
+
+  # Fix parsing of tzfile(5) POSIX rule zone names with bracket quotes
+  patch -p1 -i ../qtbug-53071.patch
+  patch -p1 -i ../qtbug-53071b.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-bindir /usr/lib/qt/bin \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
+"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
+
+  # Useful symlinks
+  install -d "${pkgdir}"/usr/bin
+  for b in "${pkgdir}"/usr/lib/qt/bin/*; do
+ln -s /usr/lib/qt/bin/$(basename $b) 

[arch-commits] Commit in qt5-base/repos (6 files)

2016-06-04 Thread Antonio Rojas
Date: Saturday, June 4, 2016 @ 10:03:48
  Author: arojas
Revision: 268895

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  qt5-base/repos/kde-unstable-i686/
  qt5-base/repos/kde-unstable-i686/PKGBUILD
(from rev 268894, qt5-base/kde-unstable/PKGBUILD)
  qt5-base/repos/kde-unstable-i686/rebuild.list
(from rev 268894, qt5-base/kde-unstable/rebuild.list)
  qt5-base/repos/kde-unstable-x86_64/
  qt5-base/repos/kde-unstable-x86_64/PKGBUILD
(from rev 268894, qt5-base/kde-unstable/PKGBUILD)
  qt5-base/repos/kde-unstable-x86_64/rebuild.list
(from rev 268894, qt5-base/kde-unstable/rebuild.list)

--+
 kde-unstable-i686/PKGBUILD   |  111 +
 kde-unstable-i686/rebuild.list   |6 ++
 kde-unstable-x86_64/PKGBUILD |  111 +
 kde-unstable-x86_64/rebuild.list |6 ++
 4 files changed, 234 insertions(+)

Copied: qt5-base/repos/kde-unstable-i686/PKGBUILD (from rev 268894, 
qt5-base/kde-unstable/PKGBUILD)
===
--- kde-unstable-i686/PKGBUILD  (rev 0)
+++ kde-unstable-i686/PKGBUILD  2016-06-04 08:03:48 UTC (rev 268895)
@@ -0,0 +1,111 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt5-base
+_qtver=5.7.0-rc
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework'
+depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'fontconfig'
+ 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
+ 'qtchooser' 'tslib' 'libinput' 'libsm' 'libxkbcommon-x11')
+makedepends=('mtdev' 'libfbclient' 'libmariadbclient' 'sqlite' 'unixodbc' 
'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
+ 'gtk3' 'libpulse' 'cups' 'freetds')
+optdepends=('qt5-svg: to use SVG icon themes'
+'postgresql-libs: PostgreSQL driver'
+'libmariadbclient: MariaDB driver'
+'unixodbc: ODBC driver'
+'libfbclient: Firebird/iBase driver'
+'freetds: MS SQL driver'
+'mtdev: evdev plugin'
+'gtk3: GTK platform plugin')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
qtbug-53071.patch::"https://github.com/qtproject/qtbase/commit/e9041c7fc.patch;
+
qtbug-53071b.patch::"https://github.com/qtproject/qtbase/commit/cd25866f.patch;)
+md5sums=('e662dde5b593dd40f84a9dcad66fc9c2'
+ '462f079cd46f869def6858903a718bf5'
+ 'da4fd787ea877516397a027412e975e1')
+
+prepare() {
+  cd ${_pkgfqn}
+
+  # Build qmake using Arch {C,LD}FLAGS
+  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
+  sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|" \
+mkspecs/common/gcc-base.conf
+  sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
+mkspecs/common/g++-unix.conf
+
+  # Use python2 for Python 2.x
+  find . -name '*.py' -exec sed -i \
+'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
+
+  # Fix libsystemd-journal detection
+  sed -e 's|libsystemd-journal|libsystemd|' -i 
config.tests/unix/journald/journald.pro -i src/corelib/global/global.pri
+
+  # Fix parsing of tzfile(5) POSIX rule zone names with bracket quotes
+  patch -p1 -i ../qtbug-53071.patch
+  patch -p1 -i ../qtbug-53071b.patch
+}
+
+build() {
+  cd ${_pkgfqn}
+
+#  export QTDIR="${srcdir}"/${_pkgfqn}
+#  export LD_LIBRARY_PATH="${QTDIR}"/lib:"${LD_LIBRARY_PATH}"
+#  export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
+
+  # FS#38796
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
+  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+-prefix /usr \
+-bindir /usr/lib/qt/bin \
+-docdir /usr/share/doc/qt \
+-headerdir /usr/include/qt \
+-archdatadir /usr/lib/qt \
+-datadir /usr/share/qt \
+-sysconfdir /etc/xdg \
+-examplesdir /usr/share/doc/qt/examples \
+-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+-system-sqlite \
+-openssl-linked \
+-nomake examples \
+-no-rpath \
+-optimized-qmake \
+-dbus-linked \
+-system-harfbuzz \
+-journald \
+-no-use-gold-linker \
+-reduce-relocations ${SSE2}
+
+  make
+}
+
+package() {
+  cd ${_pkgfqn}
+  make INSTALL_ROOT="${pkgdir}" install
+
+  install -D -m644 LGPL_EXCEPTION.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  # Fix wrong qmake path in pri file
+  sed -i