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

Evangelos Foutras foutrelis at archlinux.org
Thu Oct 5 03:17:50 UTC 2017


    Date: Thursday, October 5, 2017 @ 03:17:49
  Author: foutrelis
Revision: 261607

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

Added:
  kbibtex/repos/community-staging-i686/
  kbibtex/repos/community-staging-i686/PKGBUILD
    (from rev 261606, kbibtex/trunk/PKGBUILD)
  kbibtex/repos/community-staging-i686/kbibtex-no-qtwebkit.patch
    (from rev 261606, kbibtex/trunk/kbibtex-no-qtwebkit.patch)
  kbibtex/repos/community-staging-x86_64/
  kbibtex/repos/community-staging-x86_64/PKGBUILD
    (from rev 261606, kbibtex/trunk/PKGBUILD)
  kbibtex/repos/community-staging-x86_64/kbibtex-no-qtwebkit.patch
    (from rev 261606, kbibtex/trunk/kbibtex-no-qtwebkit.patch)

----------------------------------------------------+
 community-staging-i686/PKGBUILD                    |   42 +++++++++++++++++++
 community-staging-i686/kbibtex-no-qtwebkit.patch   |   34 +++++++++++++++
 community-staging-x86_64/PKGBUILD                  |   42 +++++++++++++++++++
 community-staging-x86_64/kbibtex-no-qtwebkit.patch |   34 +++++++++++++++
 4 files changed, 152 insertions(+)

Copied: kbibtex/repos/community-staging-i686/PKGBUILD (from rev 261606, kbibtex/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-05 03:17:49 UTC (rev 261607)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
+# Contributor: cmorlok <christianmorlok at web.de>
+
+pkgname=kbibtex
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A BibTeX editor for KDE"
+arch=('i686' 'x86_64')
+url='https://userbase.kde.org/KBibTeX'
+license=('GPL')
+depends=('kdebase-runtime' 'poppler-qt4')
+optdepends=('okular: Document preview')
+makedepends=('cmake' 'automoc4' 'qca-qt4')
+source=("https://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz"{,.asc} kbibtex-no-qtwebkit.patch)
+sha256sums=('d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3'
+            'SKIP'
+            '8abf53b295c2271f90e673ebc4dff88283732e08e138afdd0de90b145aa8f328')
+validpgpkeys=('1808CB466328F4380685A3B1A264FD738D861F41') # Thomas Fischer <fischer at unix-ag.uni-kl.de>
+
+prepare() {
+  cd $pkgname-$pkgver
+
+# Disable insecure qtwebkit
+  patch -p1 -i ../kbibtex-no-qtwebkit.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: kbibtex/repos/community-staging-i686/kbibtex-no-qtwebkit.patch (from rev 261606, kbibtex/trunk/kbibtex-no-qtwebkit.patch)
===================================================================
--- community-staging-i686/kbibtex-no-qtwebkit.patch	                        (rev 0)
+++ community-staging-i686/kbibtex-no-qtwebkit.patch	2017-10-05 03:17:49 UTC (rev 261607)
@@ -0,0 +1,34 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 04222a74..1485acc1 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -34,29 +34,6 @@ include(
+ ##SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -pg")
+ ##SET(CMAKE_CXX_FLAGS_DISTRIBUTION "${CMAKE_CXX_FLAGS_DISTRIBUTION} -pg")
+ 
+-# check if QtWebKit is available, which seems to be not available
+-# on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
+-if(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "Found QtWebKit, enabling WebKit support"
+-    )
+-    add_definitions(
+-        -DHAVE_QTWEBKIT
+-    )
+-else(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "QtWebKit not found, disabling WebKit support"
+-    )
+-endif(
+-    QT_QTWEBKIT_FOUND
+-)
+-
+ add_definitions(
+     ${QT_DEFINITIONS}
+     ${KDE4_DEFINITIONS}

Copied: kbibtex/repos/community-staging-x86_64/PKGBUILD (from rev 261606, kbibtex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-05 03:17:49 UTC (rev 261607)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
+# Contributor: cmorlok <christianmorlok at web.de>
+
+pkgname=kbibtex
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A BibTeX editor for KDE"
+arch=('i686' 'x86_64')
+url='https://userbase.kde.org/KBibTeX'
+license=('GPL')
+depends=('kdebase-runtime' 'poppler-qt4')
+optdepends=('okular: Document preview')
+makedepends=('cmake' 'automoc4' 'qca-qt4')
+source=("https://download.kde.org/stable/KBibTeX/$pkgname-$pkgver.tar.xz"{,.asc} kbibtex-no-qtwebkit.patch)
+sha256sums=('d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3'
+            'SKIP'
+            '8abf53b295c2271f90e673ebc4dff88283732e08e138afdd0de90b145aa8f328')
+validpgpkeys=('1808CB466328F4380685A3B1A264FD738D861F41') # Thomas Fischer <fischer at unix-ag.uni-kl.de>
+
+prepare() {
+  cd $pkgname-$pkgver
+
+# Disable insecure qtwebkit
+  patch -p1 -i ../kbibtex-no-qtwebkit.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: kbibtex/repos/community-staging-x86_64/kbibtex-no-qtwebkit.patch (from rev 261606, kbibtex/trunk/kbibtex-no-qtwebkit.patch)
===================================================================
--- community-staging-x86_64/kbibtex-no-qtwebkit.patch	                        (rev 0)
+++ community-staging-x86_64/kbibtex-no-qtwebkit.patch	2017-10-05 03:17:49 UTC (rev 261607)
@@ -0,0 +1,34 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 04222a74..1485acc1 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -34,29 +34,6 @@ include(
+ ##SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -pg")
+ ##SET(CMAKE_CXX_FLAGS_DISTRIBUTION "${CMAKE_CXX_FLAGS_DISTRIBUTION} -pg")
+ 
+-# check if QtWebKit is available, which seems to be not available
+-# on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
+-if(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "Found QtWebKit, enabling WebKit support"
+-    )
+-    add_definitions(
+-        -DHAVE_QTWEBKIT
+-    )
+-else(
+-    QT_QTWEBKIT_FOUND
+-)
+-    message(
+-        STATUS
+-        "QtWebKit not found, disabling WebKit support"
+-    )
+-endif(
+-    QT_QTWEBKIT_FOUND
+-)
+-
+ add_definitions(
+     ${QT_DEFINITIONS}
+     ${KDE4_DEFINITIONS}



More information about the arch-commits mailing list